Submission Statistics (scripts)

Error in SQL Query :: select count(*) as thecount, date_format(status_stamp,"%Y%m") as histbin, date_format(status_stamp,"%b '%y") as english FROM works AND status IN (3,6) WHERE works.category_id = 6 GROUP BY date_format(status_stamp,"%Y%m") ORDER BY histbin asc :: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND status IN (3,6) WHERE works.category_id = 6 GROUP BY date_format(status_st' at line 1