Database Error

Details: Result error: SELECT YEAR(a.articledate) AS ayear, MONTH(a.articledate) AS amonth, count(1) as acount, MONTHNAME(a.articledate) AS amonthname FROM article a WHERE a.articlecategory IN() AND a.publishdate < NOW() AND a.deleted = 0 GROUP BY YEAR(a.articledate), MONTH(a.articledate) ORDER BY ayear DESC, amonth ASC

MySQL Error: 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 a.publishdate < NOW() ' at line 4

Archives