What is the lowest wins that has a year prior to 1999, with draws greater than 1, and points greater than 17?
CREATE TABLE table_name_11 (wins INTEGER, points VARCHAR, year VARCHAR, draws VARCHAR)
SELECT MIN(wins) FROM table_name_11 WHERE year < 1999 AND draws > 1 AND points > 17
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (wins INTEGER, points VARCHAR, year VARCHAR, draws VARCHAR) Question: What is the lowest wins that has a year prior to 1999, with draws greater than 1, and points greater than 17? [/INST] SELECT MIN(wins) FROM table_name_11 WHERE year < 1999 AND draws > 1 AND points > 17 </s>