Which Events is the highest one that has a Top-10 larger than 7, and Wins smaller than 2?
CREATE TABLE table_name_39 (events INTEGER, top_10 VARCHAR, wins VARCHAR)
SELECT MAX(events) FROM table_name_39 WHERE top_10 > 7 AND wins < 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (events INTEGER, top_10 VARCHAR, wins VARCHAR) Question: Which Events is the highest one that has a Top-10 larger than 7, and Wins smaller than 2? [/INST] SELECT MAX(events) FROM table_name_39 WHERE top_10 > 7 AND wins < 2 </s>