Second, because you could do it more efficiently. There's no point in checking for the upper bound now() when that is by definition always going to be the upper bound anyway.
SELECT name FROM details where timestamp_column > now() - interval 5 minute
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.