mysql hace 1 día
select *
from orders
where order_date >= DATE_SUB(NOW(),INTERVAL 1 YEAR);
GutoTrosla
select *
from orders
where order_date >= DATE_SUB(NOW(),INTERVAL 1 YEAR);
SELECT * FROM FOO
WHERE MY_DATE_FIELD >= NOW() - INTERVAL 1 DAY
...WHERE DATE_FIELD >= DATE_SUB(NOW(), INTERVAL 1 DAY)