Quantcast
Channel: Support Portal
Viewing all articles
Browse latest Browse all 20315

Report

$
0
0

You provided me with a solution to query my request: I am new to this and wondered, is there a report that I am to modify or build this from scratch?


Thom



Please use the below query. MSSQL Database


 


SELECT TOP 10 max(aau.FIRST_NAME) "Requester" , COUNT(wo.WORKORDERID) "Request ID" FROM WorkOrder wo LEFT JOIN SDUser sdu ON wo.REQUESTERID=sdu.USERID LEFT JOIN AaaUser aau ON sdu.USERID=aau.USER_ID WHERE (wo.ISPARENT='1') AND wo.CREATEDTIME >= <from_thisweek> AND wo.CREATEDTIME <= <to_thisweek> GROUP BY wo.REQUESTERID


ORDER BY 2 desc



Viewing all articles
Browse latest Browse all 20315

Trending Articles