human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: League, Sport, Season, Total attendance, Average attendance
###Question: What was the highest average attendance in the 2009 season?
gpt
SELECT MAX Average attendance FROM table WHERE Season = 2009