text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE home_game (YEAR VARCHAR, attendance INTEGER)
  ### Question:
  What is the average number of attendance at home games for each year?
  ### Answer:
  SELECT YEAR, AVG(attendance) FROM home_game GROUP BY YEAR