I am trying to make a query on one table, an invoices table, and I
want to see how many orders are in each month
Year Month Count
---------------------------
2006 01 80
2006 02 110
2006 03 208
....
I cant just do Distinct MonthPart because we have years, so to get
these three columns, is just beyond my SQL skills.
Any suggestions or pointer would be greatly appreciated!!!!
want to see how many orders are in each month
Year Month Count
---------------------------
2006 01 80
2006 02 110
2006 03 208
....
I cant just do Distinct MonthPart because we have years, so to get
these three columns, is just beyond my SQL skills.
Any suggestions or pointer would be greatly appreciated!!!!
Comment