select 月份, count(a),count(b),count(c) from table1 group by 月份 order by 月份 ASC