How many Red Breasted Nuthatch coins created before 2007 were minted, on average?
CREATE TABLE table_name_42 (mintage INTEGER, animal VARCHAR, year VARCHAR)
SELECT AVG(mintage) FROM table_name_42 WHERE animal = "red breasted nuthatch" AND year < 2007
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: 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? [/INST] SELECT AVG(mintage) FROM table_name_42 WHERE animal = "red breasted nuthatch" AND year < 2007 </s>