What is the average win with a top 5 greater than 2 and a top 10 less than 5?
CREATE TABLE table_name_99 (wins INTEGER, top_5 VARCHAR, top_10 VARCHAR)
SELECT AVG(wins) FROM table_name_99 WHERE top_5 > 2 AND top_10 < 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (wins INTEGER, top_5 VARCHAR, top_10 VARCHAR) Question: What is the average win with a top 5 greater than 2 and a top 10 less than 5? [/INST] SELECT AVG(wins) FROM table_name_99 WHERE top_5 > 2 AND top_10 < 5 </s>