→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
06-09-2015 10:16 PM
Solved! Go to Solution.
06-12-2015 11:15 AM
Select Top 1000000 tblADusers.Department As [User Department],
tblOperatingsystem.Caption As OS,
Count(tblAssets.AssetID) As Number
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblOperatingsystem
On tblAssets.AssetID = tblOperatingsystem.AssetID
Left Join tblADusers On tblAssets.Username = tblADusers.Username And
tblAssets.Userdomain = tblADusers.Userdomain
Where tblAssetCustom.State = 1
Group By tblADusers.Department,
tblOperatingsystem.Caption
Order By [User Department],
OS
06-12-2015 11:15 AM
Select Top 1000000 tblADusers.Department As [User Department],
tblOperatingsystem.Caption As OS,
Count(tblAssets.AssetID) As Number
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblOperatingsystem
On tblAssets.AssetID = tblOperatingsystem.AssetID
Left Join tblADusers On tblAssets.Username = tblADusers.Username And
tblAssets.Userdomain = tblADusers.Userdomain
Where tblAssetCustom.State = 1
Group By tblADusers.Department,
tblOperatingsystem.Caption
Order By [User Department],
OS
06-11-2015 05:56 PM
06-10-2015 03:12 PM
Select Top 1000000 tblAssetCustom.Department,
tblOperatingsystem.Caption As OS,
Count(tblAssets.AssetID) As Number
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblOperatingsystem
On tblAssets.AssetID = tblOperatingsystem.AssetID
Where tblAssetCustom.State = 1
Group By tblAssetCustom.Department,
tblOperatingsystem.Caption
Order By tblAssetCustom.Department,
OS
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now