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 captain (name VARCHAR, age VARCHAR)
system
Sort all captain names by their ages from old to young.
user
SELECT name FROM captain ORDER BY age DESC
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 captain (name VARCHAR, age VARCHAR)<|im_end|>
<|im_start|>user
Sort all captain names by their ages from old to young.<|im_end|>
