Context: CREATE TABLE stadium (capacity INTEGER, opening_year VARCHAR)
Question: What is the average capacity of the stadiums that were opened in year 2005?
Answer: SELECT AVG(capacity) FROM stadium WHERE opening_year = 2005