Find the average rank of winners in all matches.
CREATE TABLE matches (winner_rank INTEGER)
SELECT AVG(winner_rank) FROM matches
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE matches (winner_rank INTEGER) Question: Find the average rank of winners in all matches. [/INST] SELECT AVG(winner_rank) FROM matches </s>