|
SELECT name, image
FROM categories c
JOIN categories_status cs ON cs.category_id=c.ido
WHERE c.type=2 AND cs.product_id=
LIMIT 1 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 'LIMIT 1' at line 5 | |