SELECT DISPLAY_NUM FROM ITEM WHERE SKU_GRP_ID = AND DISPLAY_NUM REGEXP '^(USMB)|(ABN)|(OBN)|(APC)|(OPC)|(APM)|(OPM)|(EXL)': 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 DISPLAY_NUM REGEXP '^(USMB)|(ABN)|(OBN)|(APC)|(OPC)|(APM)|(OPM)|(EXL)'' at line 1