Having trouble figuring out what seems like it should be a basic use case. Given a table of data written daily (‘activity_date’ date NOT NULL), roll up data into monthly buckets. GROUP BY docs and Date Type docs aren’t much help and I can’t find any tutorials on Google. There is a similar question here but I can’t figure out how to make it work for my case. Is there a simple way to get what I need?
Share
How about grouping by year and month?