Error: 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 '&& pc.category_id=c.category_id LIMIT 1' at line 9
Error No: 1064
SELECT c.parent_id, c.category_id FROM category AS c, url_alias AS a, product_to_category AS pc WHERE pc.product_id= && pc.category_id=c.category_id LIMIT 1