1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and cd.language_id = '1' order by c.parent_id, c.sort_order, cd.categories_name' at line 3
select c.categories_id, c.categories_image, cd.categories_name, c.parent_id, cd.link
from categories c inner join categories_description cd
on c.categories_id = cd.categories_id and c.parent_id= and cd.language_id = '1' order by c.parent_id, c.sort_order, cd.categories_name
[TEP STOP]