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='vip-sofa-2-amp-3-seater_1161'' at line 1

SQL Query
SELECT `category`.* FROM `category` WHERE id!=0 AND status='Active' and parentcategory_id= and slug='vip-sofa-2-amp-3-seater_1161'