select * from 表名 where hour(时间字段)>=8 and hour(时间字段)<=12
MySQL-sql语句查询时间段hour函数
最新推荐文章于 2025-03-07 21:22:53 发布
select * from 表名 where hour(时间字段)>=8 and hour(时间字段)<=12