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)

05-11 19:46