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_29 (top_5 INTEGER, position VARCHAR, year VARCHAR)
system
Name the average Top 5 which has a Position of 52nd with a Year smaller than 2000?
user
SELECT AVG(top_5) FROM table_name_29 WHERE position = "52nd" AND year < 2000
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_29 (top_5 INTEGER, position VARCHAR, year VARCHAR)<|im_end|>
<|im_start|>user
Name the average Top 5 which has a Position of 52nd with a Year smaller than 2000?<|im_end|>
