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 '16720)' at line 1SELECT COUNT(DISTINCT p.productID) as cnt FROM SC_products p WHERE p.productID IN (16738,estel-sumochka-dlja-parikmaherskih-instrumentov-s-logotipom-,16720)