SyntaxFix
Write A Post
Hire A Developer
Questions
To anyone who doesn't want to use DATE_SUB, use CURRENT_DATE:
DATE_SUB
CURRENT_DATE
SELECT CURRENT_DATE - INTERVAL 30 DAY