I have rows of data in a database that have a DATETIME
called date on. There is another column called points.
I need to count all the points for each month and return a list of total points for each month in order of month with most points down.
I'm not really sure where to start when it comes to selecting rows by month?