select * from datevideo where timediff(now(),date) < 400
select * from times where times>'2011-02-01 15:00:00' and times< '2011-02-01 19:00:00'
select * from times where times>'2011-02-01 15:00:00' and times< '2011-02-01 19:00:00'
本文介绍了两种SQL查询方法:一种是根据时间差筛选视频记录;另一种是在指定时间段内查找时间记录。

被折叠的 条评论
为什么被折叠?