SELECT `P_CODE`,ALIBABA_ADDRESS,`P_NAME`,`P_DESC` FROM `PRODUCTS` WHERE `P_CAT`= AND `INUSE_FLAG`=1 ORDER BY P_NAME LIMIT 0, 12xxxdead: 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 `INUSE_FLAG`=1 ORDER BY P_NAME LIMIT 0, 12' at line 1