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
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: When was the average attendance 789? ### Input: CREATE TABLE table_2380212_1 (
    year INTEGER,
    avg_attendance VARCHAR
) ### Response: SELECT MIN(year) FROM table_2380212_1 WHERE avg_attendance = 789