1
SELECT * FROM table
WHERE YEAR(date_created) = YEAR(CURRENT_DATE - INTERVAL 1 MONTH)
AND MONTH(date_created) = MONTH(CURRENT_DATE - INTERVAL 1 MONTH)
WHERE order_date > DATE_SUB( NOW(), INTERVAL 1 MONTH )
WHERE order_date > DATE_SUB( NOW(), INTERVAL 1 WEEK )
For TodayWHERE order_date > DATE_SUB( NOW(), INTERVAL 1 DAY )
For in Between DatesWHERE order_date BETWEEN ( DATE_SUB( NOW(), INTERVAL 2 DAY ), DATE_SUB( NOW(), INTERVAL 1 DAY ) )