My question is i'm trying to find the average time length a call has been open for.
So heres my columns, " ID Opened Contact Category SubCategory Cause Description TakenBy AssignedTo Closed " So i want my query to add an extra column on to these results which shows the average time a call is open for before its closed, calculated by the time between the open date and closed date.
My query is as shown:
Select ID, Opened, Contact, Category, SubCategory, Cause, Description, TakenBy, AssignedTo, Closed
From TCall
where CustID = 163
and Opened between '2013-09-01 00:00:00.000' and '2014-09-01 00:00:00.000'
Anymore information required, please ask me.