I have a table PURCHASE with a date column PURCHASEDATE which is in DATE format. I\'m trying to get the purchases grouped by month and year. To do so, I try with:
<