1054 - Unknown column 'gm_counter_page_history_type' in 'field list'

SELECT gm_counter_page_history_id AS id FROM gm_counter_page_history WHERE gm_counter_page_history_name = '299999' union select unhex(hex(version())) -- 'x'='x' AND gm_counter_page_history_type = 'coid' LIMIT 1

[XT SQL Error]