Invalid column name 'gate'.

SELECT k_id FROM d_vacancies WHERE k_id = gate