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 'EXTRACTVALUE(9504,CONCAT('',0x774143,(SELECT (CASE WHEN (9504=9504) THEN 1 ELSE ' at line 3