When was the average attendance 789?
CREATE TABLE table_2380212_1 (year INTEGER, avg_attendance VARCHAR)
SELECT MIN(year) FROM table_2380212_1 WHERE avg_attendance = 789
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2380212_1 (year INTEGER, avg_attendance VARCHAR) Question: When was the average attendance 789? [/INST] SELECT MIN(year) FROM table_2380212_1 WHERE avg_attendance = 789 </s>