What is the lowest Points, when Class is 50cc, when Year is 1965, and when Wins is less than 0?
CREATE TABLE table_name_2 (points INTEGER, wins VARCHAR, class VARCHAR, year VARCHAR)
SELECT MIN(points) FROM table_name_2 WHERE class = "50cc" AND year = 1965 AND wins < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (points INTEGER, wins VARCHAR, class VARCHAR, year VARCHAR) Question: What is the lowest Points, when Class is 50cc, when Year is 1965, and when Wins is less than 0? [/INST] SELECT MIN(points) FROM table_name_2 WHERE class = "50cc" AND year = 1965 AND wins < 0 </s>