What is the average Year, when Outcome is "Winner"?
CREATE TABLE table_name_98 (year INTEGER, outcome VARCHAR)
SELECT AVG(year) FROM table_name_98 WHERE outcome = "winner"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (year INTEGER, outcome VARCHAR) Question: What is the average Year, when Outcome is "Winner"? [/INST] SELECT AVG(year) FROM table_name_98 WHERE outcome = "winner" </s>