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 'p2c left join categories_description cd on p2c.categories_id = cd.categories_id ' at line 1

select p.products_id, p.manufacturers_id, p.products_model, p.products_price, p.products_image, p.products_date_added, pd.products_name, pd.products_description, m.manufacturers_name, cd.categories_name, p.products_tax_class_id, s.status, s.specials_new_products_price, p.products_price as final_price from products_description pd left join products p on (pd.products_id = p.products_id) left join manufacturers m on p.manufacturers_id = m.manufacturers_id left join specials s on p.products_id = s.products_id left join products_to_categories on (s.products_id = p2c.products_id) p2c left join categories_description cd on p2c.categories_id = cd.categories_id where p.products_status = '1' and p.products_to_rss='1' and pd.language_id = '1' and p2c.categories_id = '23' GROUP BY p.products_id ORDER BY p.products_id DESC LIMIT 20

[TEP STOP]