You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_60 (year INTEGER, number_in_entourage VARCHAR, mission_type VARCHAR)
system
What is the latest year of a gratitude type mission with 99 in the entourage?
user
SELECT MAX(year) FROM table_name_60 WHERE number_in_entourage = "99" AND mission_type = "gratitude"
assistant
<|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_60 (year INTEGER, number_in_entourage VARCHAR, mission_type VARCHAR)<|im_end|>
<|im_start|>user
What is the latest year of a gratitude type mission with 99 in the entourage?<|im_end|>
