→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎01-22-2016 04:32 PM
Solved! Go to Solution.
‎01-28-2016 03:58 PM
Select Top 1000000 DatePart(yy, SubQuery.Max) As Year,
Count(SubQuery.AssetID) As Count
From (Select Top 1000000 tblQuickFixEngineering.AssetID,
Max(tblQuickFixEngineering.Lastchanged) As Max
From tblQuickFixEngineering
Group By tblQuickFixEngineering.AssetID) SubQuery
Inner Join tblAssetCustom On tblAssetCustom.AssetID = SubQuery.AssetID
Inner Join tblAssets On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tsysOS.OScode = tblAssets.OScode
Where tblAssetCustom.State = 1 And tsysOS.OSname Like '%2003%'
Group By DatePart(yy, SubQuery.Max)
Order By Year
‎01-28-2016 10:45 PM
‎01-28-2016 05:26 PM
‎01-28-2016 04:59 PM
‎01-28-2016 03:58 PM
Select Top 1000000 DatePart(yy, SubQuery.Max) As Year,
Count(SubQuery.AssetID) As Count
From (Select Top 1000000 tblQuickFixEngineering.AssetID,
Max(tblQuickFixEngineering.Lastchanged) As Max
From tblQuickFixEngineering
Group By tblQuickFixEngineering.AssetID) SubQuery
Inner Join tblAssetCustom On tblAssetCustom.AssetID = SubQuery.AssetID
Inner Join tblAssets On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tsysOS.OScode = tblAssets.OScode
Where tblAssetCustom.State = 1 And tsysOS.OSname Like '%2003%'
Group By DatePart(yy, SubQuery.Max)
Order By Year
‎01-24-2016 07:33 AM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now