CREATE TABLE table_name_91 (losses INT, wins VARCHAR, byes VARCHAR)

What's the total losses when there are 8 wins and less than 2 byes?
SELECT SUM(losses) FROM table_name_91 WHERE wins = 8 AND byes < 2
SELECT SUM("losses") FROM "table_name_91" WHERE "byes" < 2 AND "wins" = 8