SELECT DATE_FORMAT( startDateTime, "%Y-%m-%d %H" ) AS date, COUNT(*) AS numFROM data_serviceGROUP BY date ORDER BY date;
按照每天每小时统计数量
End.