What is the smallest number of losses for a position greater than 2 with 4 points and more than 2 draws?
CREATE TABLE table_name_4 (lost INTEGER, drawn VARCHAR, position VARCHAR, points VARCHAR)
SELECT MIN(lost) FROM table_name_4 WHERE position > 2 AND points = 4 AND drawn > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (lost INTEGER, drawn VARCHAR, position VARCHAR, points VARCHAR) Question: What is the smallest number of losses for a position greater than 2 with 4 points and more than 2 draws? [/INST] SELECT MIN(lost) FROM table_name_4 WHERE position > 2 AND points = 4 AND drawn > 2 </s>