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_91 (week INTEGER, attendance VARCHAR)
system
Which Week has an Attendance of 20,112?
user
SELECT MAX(week) FROM table_name_91 WHERE attendance = 20 OFFSET 112
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_91 (week INTEGER, attendance VARCHAR)<|im_end|>
<|im_start|>user
Which Week has an Attendance of 20,112?<|im_end|>
