Table schema:
CREATE TABLE table_name_40 (attendance INTEGER, date VARCHAR)

Question: What was the average attendance on October 12?
SQL: SELECT AVG(attendance) FROM table_name_40 WHERE date = "october 12"