QUERY ERROR: SELECT mno, SUM(e_tcnt) AS email_tcnt, SUM(e_scnt) as email_scnt, SUM(e_fcnt) as email_fcnt, SUM(u_scnt) as smart_scnt, SUM(u_fcnt) as smart_fcnt, SUM(u_wcnt) as smart_wcnt, SUM(s_scnt) as sms_scnt, SUM(s_wcnt) as sms_wcnt, SUM(s_fcnt) as sms_fcnt, FROM_UNIXTIME(rdate,"%Y-%m-%d") AS rdate FROM KMAInfo WHERE mno= AND rdate>=1656601200 AND rdate<1659279600 GROUP BY FROM_UNIXTIME(rdate,"%Y-%m-%d") ORDER BY rdate

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND rdate>=1656601200 AND rdate<1659279600 GROUP BY FROM_UNIXTIME(rdate,"%Y-%m-%' at line 1