#WQL
World Of Tanks runing last 30 days
select
distinct SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client
from SMS_R_SYSTEM
inner join SMS_MonthlyUsageSummary
on SMS_R_SYSTEM.ResourceID = SMS_MonthlyUsageSummary.ResourceID
INNER JOIN SMS_MeteredFiles
ON SMS_MonthlyUsageSummary.FileID = SMS_MeteredFilesf.MeteredFileID
WHERE DateDiff(day, SMS_MonthlyUsageSummary.LastUsage, GetDate()) < 30
AND SMS_MeteredFiles.ProductName = 'World of Tanks'
У меня выдает что не правильный синтаксис
Dmitriy
Sergey
Pavel pinky13
Anton
Владимир
Миха
Sergey