Table schema:
CREATE TABLE stadium (capacity INTEGER, opening_year VARCHAR)

Question: What is the average capacity of the stadiums that were opened in year 2005?
SQL: SELECT AVG(capacity) FROM stadium WHERE opening_year = 2005