What year weas John McEnroe the champion?
CREATE TABLE table_name_64 (year INTEGER, champion VARCHAR)
SELECT AVG(year) FROM table_name_64 WHERE champion = "john mcenroe"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (year INTEGER, champion VARCHAR) Question: What year weas John McEnroe the champion? [/INST] SELECT AVG(year) FROM table_name_64 WHERE champion = "john mcenroe" </s>