mysql 获取规定时间段内的统计数据按年统计SELECT count(*), DATE_FORMAT(order_info.create_time, '%Y-%m-%d') AS count_by_date FRO