What is the least ties when they played less than 14 games, and a lost less than 8 of them?
CREATE TABLE table_name_7 (draw INTEGER, played VARCHAR, lost VARCHAR)
SELECT MIN(draw) FROM table_name_7 WHERE played < 14 AND lost < 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (draw INTEGER, played VARCHAR, lost VARCHAR) Question: What is the least ties when they played less than 14 games, and a lost less than 8 of them? [/INST] SELECT MIN(draw) FROM table_name_7 WHERE played < 14 AND lost < 8 </s>