SQL error: 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 (city='Karachi' OR city is null) AND (country='Pakistan') group by c...' at line 1\b
Original query: SELECT SQL_CACHE count(topic_id) as count,category_id from forum_data where status='1' and ( category_id in () ) AND (city='Karachi' OR city is null) AND (country='Pakistan') group by category_id