SELECT * FROM FRONTDB.CP_PKG WHERE P_NO='8440' AND CPN_CO_CD='1025' AND (P_USEFLAG = 'Y' OR P_BLIND = 'Y' OR '1603314474' BETWEEN P_STIME AND P_ETIME) AND (P_OPT IN('', 0, 2) OR (P_OPT='3' AND REPLACE(P_PCODE, ' ', '') REGEXP '^

|,
,|,
$'))

1064 : 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 'opacity: 0'>