Context: CREATE TABLE table_name_40 (attendance INTEGER, date VARCHAR)
Question: What was the average attendance on October 12?
Answer: SELECT AVG(attendance) FROM table_name_40 WHERE date = "october 12"