SELECT COUNT(*) FROM `simpt_db_review` AS `r` LEFT JOIN `simpt_clinic_office` AS `co` ON `co`.`id` = `r`.`idClinic` WHERE `r`.`published` = 1 AND `r`.`ratingClinic` > 0 AND `r`.`idClinic` IN ()
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 ')' at line 1