What is the earliest year with fewer than 5 wins and 89 points?
CREATE TABLE table_name_12 (year INTEGER, wins VARCHAR, points VARCHAR)
SELECT MIN(year) FROM table_name_12 WHERE wins < 5 AND points = 89
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (year INTEGER, wins VARCHAR, points VARCHAR) Question: What is the earliest year with fewer than 5 wins and 89 points? [/INST] SELECT MIN(year) FROM table_name_12 WHERE wins < 5 AND points = 89 </s>