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'