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_16 (attendance INTEGER, visitor VARCHAR)
system
What is the average attendance for a game against Phoenix?
user
SELECT AVG(attendance) FROM table_name_16 WHERE visitor = "phoenix"
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_16 (attendance INTEGER, visitor VARCHAR)<|im_end|>
<|im_start|>user
What is the average attendance for a game against Phoenix?<|im_end|>
