Table: bfl_stats
Columns: wins
byes
losses
draws
against

Question: What is the number listed under against when there were less than 13 losses and less than 2 byes?
SQL: SELECT COUNT("against") FROM bfl_stats WHERE "losses" < 13 AND "byes" < 2

Question: What is the highest number listed under against when there were 15 losses and more than 1 win?
SQL: SELECT MAX("against") FROM bfl_stats WHERE "losses" = 15 AND "wins" > 1

Question: What is the average number of Byes when there were less than 0 losses and were against 1247?
SQL: SELECT AVG("byes") FROM bfl_stats WHERE "against" = 1247 AND "draws" < 0

Question: What is the highest number listed under against when there were less than 3 wins and less than 15 losses?
SQL: SELECT MAX("against") FROM bfl_stats WHERE "wins" < 3 AND "losses" < 15