Much like in this answer, how can I achieve the same thing in SQL?
I want to group the data first by site, then by date and then have a count that shows number of bookings on that date.
The result would be something like this:
Site1 2021-03-04 9
Site1 2021-03-05 5
Site1 2021-03-06 4
Site2 1900-01-01 1
Site2 2020-12-30 1
Site2 2021-01-04 325
Site2 2021-01-05 520