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 cd1.categories_id = c1.categories_id and cd1.categories_id =...' at line 1

select c1.categories_id from invlasy_categories c1, invlasy_categories_description cd1 where and cd1.categories_id = c1.categories_id and cd1.categories_id = '9'

[TEP STOP]