join RequestOnHold ro on wo.workorderid = ro.workorderid left join WorkOrderStates wos on wo.workorderid = wos.workorderid left join AaaUser au on wos.ownerid = au.user_id order by 1, 4
What I'm trying to accomplish is that I get an overview of the time spent on hold per request (and if possible a sum per request), since we're dependant on several other departments for call handling for functional application support.
Could someone help point me in the right direction?