How many episodes were in the season that ended on April 29, 1986?
CREATE TABLE table_name_65 (episodes INTEGER, last_airdate VARCHAR)
SELECT AVG(episodes) FROM table_name_65 WHERE last_airdate = "april 29, 1986"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (episodes INTEGER, last_airdate VARCHAR) Question: How many episodes were in the season that ended on April 29, 1986? [/INST] SELECT AVG(episodes) FROM table_name_65 WHERE last_airdate = "april 29, 1986" </s>