I have the following MySQL query which calculates the total number of orders for each month within a given date range e.g. a year. The query works correctly, but the perform