mysql 统计某个月每天的数据 select SUM(order_money) as money,substr(t.pay_time,1,10) as time from pay_log t where t.pay_time like '2018-11%' group by substr(t.pay_time,1,10)