mysql 1 день назад
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