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_13 (place INTEGER, lost INTEGER)
system
what is the average place when lost is more than 12?
user
SELECT AVG(place) FROM table_name_13 WHERE lost > 12
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_13 (place INTEGER, lost INTEGER)<|im_end|>
<|im_start|>user
what is the average place when lost is more than 12?<|im_end|>
