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 '' at line 1

SELECT count(*) as count FROM orders_products op join orders od on od.orders_id = op.orders_id where od.customers_id = 0 and op.products_id =

[XT SQL Error]