Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql select greater than yesterday

SELECT * FROM my_table WHERE created_at > DATE_SUB(NOW(), INTERVAL 1 DAY)
 
PREVIOUS NEXT
Tagged: #mysql #select #greater #yesterday
ADD COMMENT
Topic
Name
1+7 =