Who is the prisoner that is older than 45 and has served less than 22 years on death row?
CREATE TABLE table_name_39 (name VARCHAR, current_age VARCHAR, years_on_death_row VARCHAR)
SELECT name FROM table_name_39 WHERE current_age > 45 AND years_on_death_row < 22
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (name VARCHAR, current_age VARCHAR, years_on_death_row VARCHAR) Question: Who is the prisoner that is older than 45 and has served less than 22 years on death row? [/INST] SELECT name FROM table_name_39 WHERE current_age > 45 AND years_on_death_row < 22 </s>