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-2-seater-3-seater-sofa'' at line 1

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