‎11-20-2014 11:12 AM
Select Top 1000000 tblLanguages.Language,
Count(tblAssets.AssetID) As Total
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblOperatingsystem
On tblAssets.AssetID = tblOperatingsystem.AssetID
Inner Join tblLanguages On tblOperatingsystem.OSLanguage =
tblLanguages.LanguageCode
Inner Join tsysAssetTypes On tblAssets.Assettype = tsysAssetTypes.AssetType
Inner Join tblState On tblState.State = tblAssetCustom.State
Where tblState.Statename = 'Active' And (tsysAssetTypes.AssetTypename =
'Windows' Or tsysAssetTypes.AssetTypename = 'Windows CE')
Group By tblLanguages.Language
Order By Total Desc
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now