Check out example codes for "mysql where one year ago". It will help you in understanding the concepts better.

Code Example 1

select * 
from orders 
where order_date >= DATE_SUB(NOW(),INTERVAL 1 YEAR);

Learn ReactJs, React Native from akashmittal.com