→ 🚀What's New? Explore Lansweeper's Fall 2024 Updates! Fall Launch Blog !
‎04-17-2018 07:48 PM
‎04-17-2018 11:27 PM
Select Top 1000000
tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
Chrome.OneOrAll AS ChromeWhoFor,
Chrome.softwareName AS ChromeSoftware,
Chrome.softwareVersion AS ChromeVersion,
Firefox.OneOrAll As FirefoxWhoFor,
Firefox.softwareName As FirefoxSoftware,
Firefox.softwareVersion As FirefoxVersion
From
tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Left Join (Select
tblSoftware.AssetID,
Case When tblSoftware.CurrentUser = 1 Then 'User' Else 'Global' End As OneOrAll,
tblSoftwareUni.softwareName,
tblSoftware.softwareVersion
From
tblSoftware
Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Where
tblSoftwareUni.softwareName Like '%Google Chrome%'
And tblSoftwareUni.softwareName Not Like '%Google Chrome Frame%') As Chrome On Chrome.AssetID = tblAssets.AssetID
Left Join (Select
tblSoftware.AssetID,
Case When tblSoftware.CurrentUser = 1 Then 'User' Else 'Global' End As OneOrAll,
tblSoftwareUni.softwareName,
tblSoftware.softwareVersion
From
tblSoftware
Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Where
tblSoftwareUni.softwareName Like '%Firefox%'
And tblSoftwareUni.SoftwarePublisher Like '%Mozilla%') As Firefox On Firefox.AssetID = tblAssets.AssetID
Where
tblAssetCustom.State = 1
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now