select DATE_FORMAT(create_time, '%Y-%m-%d %H:%i:%s'), FROM_UNIXTIME((UNIX_TIMESTAMP(create_time) DIV 600)*600) as c ,GROUP_CONCAT(create_time),COUNT(1) from orders
where DATE_FORMAT(create_time, '%Y-%m-%d %H:%i:%s') BETWEEN DATE_FORMAT('2017-11-25 00:00:00', '%Y-%m-%d %H:%i:%s') and DATE_FORMAT('2017-11-25 23:59:59', '%Y-%m-%d %H:%i:%s')
group by c
where 不固定