Hello,
I currently use this query to see a list of my order counts:
SELECT date, count(date) FROM orders WHERE 1 group by to_days(date)
I want to do the same thing, but instead of grouping by day, I want to group by week and month.
Any ideas of how I can do this?
Thanks!