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 ')) AS 1L2G WHERE 8361=8361AND 8713=(SELECT UPPER(XMLType(CHR(60)||CHR(58)||0x767' at line 3