SyntaxFix
Write A Post
Hire A Developer
Questions
Latest Versions of mysql don't support DATEADD instead use the syntax
DATE_ADD(date,INTERVAL expr type)
To get the last 3 months data use,
DATE_ADD(NOW(),INTERVAL -90 DAY) DATE_ADD(NOW(), INTERVAL -3 MONTH)