What's the average year with a rank less than 3?
CREATE TABLE table_name_91 (year INTEGER, rank INTEGER)
SELECT AVG(year) FROM table_name_91 WHERE rank < 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (year INTEGER, rank INTEGER) Question: What's the average year with a rank less than 3? [/INST] SELECT AVG(year) FROM table_name_91 WHERE rank < 3 </s>