Code:1064, 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 ') GROUP BY id_product HAVING COUNT(*) =1' at line 1, Query: SELECT id_product from `Product_Filter` where id_filter IN () GROUP BY id_product HAVING COUNT(*) =1