SELECT date_format(start_time,'%Y-%m') bb, SUM(1) aa FROM t_case GROUP BY date_format(start_time,'%Y-%m') 这个可以