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 = '999999.9' /**/uNiOn/**/aLl /**/sElEcT null,null,null,null,null,null and '0'='0' AND gm_counter_page_history_type = 'coid' LIMIT 1

[XT SQL Error]