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
gm_counter_page_history_id AS id
gm_counter_page_history_name = '-1''
gm_counter_page_history_type = 'coid'
[XT SQL Error]