Error: SELECT * FROM childCategory_master as child
LEFT JOIN price_master as pm on child.childId=pm.childCateId
WHERE subcatId= and childStatus='1' ORDER BY childName
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 childStatus='1' ORDER BY childName' at line 3