‎06-05-2015 03:03 AM
Solved! Go to Solution.
‎06-05-2015 12:02 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.Lastseen,
tOffice.softwareName,
tOffice.softwareVersion
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Left Join (Select tblSoftware.AssetID,
tblSoftwareUni.softwareName,
tblSoftware.softwareVersion
From tblSoftware
Inner Join tblSoftwareUni On tblSoftware.softID = tblSoftwareUni.SoftID
Where tblSoftwareUni.softwareName Like 'Microsoft Office % 20%') tOffice
On tOffice.AssetID = tblAssets.AssetID
Where tblAssets.AssetName In ('LAN-001', 'LAN-002', 'LAN-003', 'LAN-004',
'LAN-005') And tblAssetCustom.State = 1
Order By tblAssets.AssetName,
tOffice.softwareName
‎06-05-2015 12:02 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.Lastseen,
tOffice.softwareName,
tOffice.softwareVersion
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Left Join (Select tblSoftware.AssetID,
tblSoftwareUni.softwareName,
tblSoftware.softwareVersion
From tblSoftware
Inner Join tblSoftwareUni On tblSoftware.softID = tblSoftwareUni.SoftID
Where tblSoftwareUni.softwareName Like 'Microsoft Office % 20%') tOffice
On tOffice.AssetID = tblAssets.AssetID
Where tblAssets.AssetName In ('LAN-001', 'LAN-002', 'LAN-003', 'LAN-004',
'LAN-005') And tblAssetCustom.State = 1
Order By tblAssets.AssetName,
tOffice.softwareName
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now