I want to query a table with a date field and an integer field for the count of records by hour and type. I plan to store each hour's count as one row. There are a fixed number of values to the ...