The query below retrieves Date Hourly and groups the data into an hourly format
SELECT a.hour, a.Count, b.* FROM user_screenshot as b INNER JOIN ( SELECT Hour(cr