I have a table with hourly and daily information. I want to use a query to sum the hourly data at the daily level. How do I do that?