select failure: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 categories_value.language_id = 1' at line 1
Select * from categories inner join categories_value on categories.categories_id = categories_value.categories_id where categories.categories_id = and categories_value.language_id = 1