how to get records one year ago in c# query code example
Example: mysql where one year ago
select *
from orders
where order_date >= DATE_SUB(NOW(),INTERVAL 1 YEAR);
select *
from orders
where order_date >= DATE_SUB(NOW(),INTERVAL 1 YEAR);