A Database Error Occurred

Error Number: 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 categories_details.language_id=1' at line 4

SELECT * FROM categories JOIn categories_details ON categories.category_id=categories_details.category_id WHERE categories.category_id= AND categories_details.language_id=1