→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎12-05-2014 03:44 PM
Select Top 1000000 tblADusers.Department,
Convert(Decimal(5,2),Avg(tblWinSAT.WinSPRLevel)) As [Base score],
Convert(Decimal(5,2),Avg(tblWinSAT.CPUScore)) As Processor,
Convert(Decimal(5,2),Avg(tblWinSAT.MemoryScore)) As [Memory (RAM)],
Convert(Decimal(5,2),Avg(tblWinSAT.GraphicsScore)) As Graphics,
Convert(Decimal(5,2),Avg(tblWinSAT.D3DScore)) As [Gaming graphics],
Convert(Decimal(5,2),Avg(tblWinSAT.DiskScore)) As [Primary hard disk]
From tblWinSAT
Inner Join tblAssets On tblAssets.AssetID = tblWinSAT.AssetId
Inner Join tblADusers On tblAssets.Username = tblADusers.Username And
tblADusers.Userdomain = tblAssets.Userdomain
Group By tblADusers.Department
Having tblADusers.Department Is Not Null And
Len(RTrim(LTrim(tblADusers.Department))) > 0
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now