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 cd.language_id = 2' at line 5
SELECT c.products_sorting, c.products_sorting2, cd.categories_name
FROM categories c
LEFT JOIN categories_description cd ON c.categories_id = cd.categories_id
WHERE c.categories_id =
AND cd.language_id = 2
[XT SQL Error]