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 table_name_42 (mintage INTEGER, animal VARCHAR, year VARCHAR)
  ### Question:
  How many Red Breasted Nuthatch coins created before 2007 were minted, on average?
  ### Answer:
  SELECT AVG(mintage) FROM table_name_42 WHERE animal = "red breasted nuthatch" AND year < 2007