Incorrect syntax near the keyword 'end'.

SELECT k_id FROM d_vacancies WHERE k_id = end