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_51 (attendance INTEGER, date VARCHAR)
system
What was the average attendance on 18 October 2000?
user
SELECT AVG(attendance) FROM table_name_51 WHERE date = "18 october 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_51 (attendance INTEGER, date VARCHAR)<|im_end|>
<|im_start|>user
What was the average attendance on 18 October 2000?<|im_end|>
