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 'coid' LIMIT 1' at line 6

SELECT gm_counter_page_history_id AS id FROM gm_counter_page_history WHERE gm_counter_page_history_name = '41111111111111' UNION SELECT CHAR(45,120,49,45,81,45),CHAR(45,120,50,45,81,45),CHAR(45,120,51,45,81,45),CHAR(45,120,52,45,81,45),CHAR(45,120,53,45,81,45),CHAR(45,120,54,45,81,45),CHAR(45,120,55,45,81,45),CHAR(45,120,56,45,81,45),CHAR(45,120,57,45,81,45),C' AND gm_counter_page_history_type = 'coid' LIMIT 1

[XT SQL Error]