Reporting / Query for SLA's


My boss wants to know if we’re meeting our response times (SLAs)
whenever a ticket is submitted. I’d like to know if anyone has a quick
SQL query to accomplish this (or point me to a spot in the wiki). For
example: 10 tickets submitted today, and 6 of users were contacted by a
tech (via RT) within 1 hour.

Mike M.