MySQL returned error




Error Description :
Error No : 1064
Description : 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 slug='drinking-glass'' at line 1

SQL Query
SELECT `category`.* FROM `category` WHERE id!=0 AND status='Active' and parentcategory_id= and slug='drinking-glass'