How to select all records in SQL from last 24 Hours using Timestamp code example
Example: sql query to select records entered in last 24 hours
SELECT *
FROM mytable
WHERE record_date >= NOW() - INTERVAL 1 DAY
SELECT *
FROM mytable
WHERE record_date >= NOW() - INTERVAL 1 DAY