i have an table with values like this:
count1 count2 count3 month 12 1 4 01/12/2011 6 5 4 23/12/2011 14
reduce the query burden
SELECT SUM(count1), SUM(count2), SUM(count3), substring(month,4,2) FROM myTable GROUP BY substring(month,4,2)