Hello,
 
I should generate reports such as:
 
Solution time and response time
Average solution time and average response time od the tickets by queue
 
 
Should I write SQL query for this or can I get these reports from Stats module?
 
Thanks in advance,
Aysel