‎11-20-2014 01:10 PM
Select Top 1000000 tblAssetCustom.SnmpOID,
tsysAssetTypes.AssetTypeIcon10 As icon,
tsysAssetTypes.AssetTypename,
tblAssetCustom.Model,
tblAssetCustom.Manufacturer,
Count(tblAssets.AssetID) As Total
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tblAssets.Assettype = tsysAssetTypes.AssetType
Where tblAssetCustom.State = 1
Group By tblAssetCustom.SnmpOID,
tsysAssetTypes.AssetTypeIcon10,
tsysAssetTypes.AssetTypename,
tblAssetCustom.Model,
tblAssetCustom.Manufacturer
Having tblAssetCustom.SnmpOID <> ''
Order By tblAssetCustom.SnmpOID
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now