Answers for "sql get last 24h from datetime"

SQL
0

sql query to select records entered in last 24 hours

SELECT  *
FROM    mytable
WHERE   record_date >= NOW() - INTERVAL 1 DAY
Posted by: Guest on May-29-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language