摘要: 按2小时段统计 select * from (SELECT FLOOR(HOUR(dateTimeColumn) / 2) * 2 as hour, count(id) as num FROM tableName group by hour ) tmp order by num 按1小时段统计 se 阅读全文
posted @ 2023-11-24 19:52 李小加 阅读(110) 评论(0) 推荐(0) 编辑