‎03-16-2015 01:48 PM
Solved! Go to Solution.
‎03-17-2015 06:12 PM
Select Top 1000000 tblSoftwareUni.SoftwarePublisher,
tblSoftwareUni.softwareName,
tblMacApplications.Version,
Count(tblAssets.AssetID) As Count
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblMacApplications
On tblAssets.AssetID = tblMacApplications.AssetID
Inner Join tblSoftwareUni On tblMacApplications.softid = tblSoftwareUni.SoftID
Where tblAssetCustom.State = 1
Group By tblSoftwareUni.SoftwarePublisher,
tblSoftwareUni.softwareName,
tblMacApplications.Version
Order By tblSoftwareUni.softwareName
‎03-17-2015 06:12 PM
Select Top 1000000 tblSoftwareUni.SoftwarePublisher,
tblSoftwareUni.softwareName,
tblMacApplications.Version,
Count(tblAssets.AssetID) As Count
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblMacApplications
On tblAssets.AssetID = tblMacApplications.AssetID
Inner Join tblSoftwareUni On tblMacApplications.softid = tblSoftwareUni.SoftID
Where tblAssetCustom.State = 1
Group By tblSoftwareUni.SoftwarePublisher,
tblSoftwareUni.softwareName,
tblMacApplications.Version
Order By tblSoftwareUni.softwareName
‎03-17-2015 06:09 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblSoftwareUni.SoftwarePublisher,
tblSoftwareUni.softwareName,
tblMacApplications.Version,
tblMacApplications.InstallDate
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblMacApplications
On tblAssets.AssetID = tblMacApplications.AssetID
Inner Join tblSoftwareUni On tblMacApplications.softid = tblSoftwareUni.SoftID
Where tblAssetCustom.State = 1
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now