1064 - 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 products_quantity > 0 AND on_sale' at line 4

SELECT COUNT(*) FROM products_clear_out WHERE products_id = AND products_quantity > 0 AND on_sale

[TEP STOP]