→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎05-15-2019 12:45 AM
Solved! Go to Solution.
‎05-15-2019 12:21 PM
‎05-17-2019 10:06 AM
‎05-16-2019 09:45 AM
‎05-15-2019 12:21 PM
‎05-17-2019 07:54 AM
endyk wrote:
Try this:
Select Top 1000000 tblSoftwareUni.softwareName As Software,
tblSoftware.softwareVersion As Version,
tblSoftwareUni.SoftwarePublisher As Publisher,
Count(tblSoftware.AssetID) As Total
From tblSoftware
Inner Join tblAssets On tblSoftware.AssetID = tblAssets.AssetID
Inner Join tblSoftwareUni On tblSoftware.softID = tblSoftwareUni.SoftID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblAssetGroupLink On tblAssets.AssetID = tblAssetGroupLink.AssetID
Inner Join tblAssetGroups On tblAssetGroups.AssetGroupID = tblAssetGroupLink.AssetGroupID
where tblAssetGroups.AssetGroup = 'Critical Systems'
Group By tblSoftwareUni.softwareName,
tblSoftware.softwareVersion,
tblSoftwareUni.SoftwarePublisher
Order By Total Desc
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now