How many losses did the East Division have who appeared 18 times and lost 8?
CREATE TABLE table_name_19 (wins INTEGER, appearances VARCHAR, division VARCHAR, losses VARCHAR)
SELECT MIN(wins) FROM table_name_19 WHERE division = "east" AND losses = 8 AND appearances < 18
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (wins INTEGER, appearances VARCHAR, division VARCHAR, losses VARCHAR) Question: How many losses did the East Division have who appeared 18 times and lost 8? [/INST] SELECT MIN(wins) FROM table_name_19 WHERE division = "east" AND losses = 8 AND appearances < 18 </s>