Query: Totals for all sales per hour for a specific date range

(Last Updated On: March 2, 2015)

Totals for all sales per hour for a specific date range

(This query will help if you need to find a pattern of how busy the box is by hours and days of the week so you can manage box office personnel schedules.)

select hour(today_time) as Hour, sum(total_tix) as Tix, sum(total_sale) as Sales
from mainsale
where today_date >= “20xx-<month>-<date>”
and today_date <= “20xx-<month>-<date>”
group by hour(today_time)

query

This entry was posted in Desktop Software, Reports, Wintix5 and tagged . Bookmark the permalink.

Leave a Reply