What's the total losses when there are 8 wins and less than 2 byes?
CREATE TABLE table_name_91 (losses INTEGER, wins VARCHAR, byes VARCHAR)
SELECT SUM(losses) FROM table_name_91 WHERE wins = 8 AND byes < 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (losses INTEGER, wins VARCHAR, byes VARCHAR) Question: What's the total losses when there are 8 wins and less than 2 byes? [/INST] SELECT SUM(losses) FROM table_name_91 WHERE wins = 8 AND byes < 2 </s>