Which Losses have Wins smaller than 6, and a South West DFL of sandford?
CREATE TABLE table_name_39 (losses INTEGER, wins VARCHAR, south_west_dfl VARCHAR)
SELECT MIN(losses) FROM table_name_39 WHERE wins < 6 AND south_west_dfl = "sandford"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (losses INTEGER, wins VARCHAR, south_west_dfl VARCHAR) Question: Which Losses have Wins smaller than 6, and a South West DFL of sandford? [/INST] SELECT MIN(losses) FROM table_name_39 WHERE wins < 6 AND south_west_dfl = "sandford" </s>