Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql query to select records entered in last 24 hours

SELECT  *
FROM    mytable
WHERE   record_date >= NOW() - INTERVAL 1 DAY
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #query #select #records #entered #hours
ADD COMMENT
Topic
Name
6+9 =