Table: peel_football_stats
Columns: peel
wins
byes
losses
draws
against

Question: Which Wins has a Byes larger than 0?
SQL: SELECT MAX("wins") FROM peel_football_stats WHERE "byes" > 0

Question: Which Against has a Peel of waroona, and a Byes larger than 0?
SQL: SELECT MAX("against") FROM peel_football_stats WHERE "peel" = 'waroona' AND "byes" > 0

Question: Which Draws has a Wins smaller than 17, and an Against smaller than 1158?
SQL: SELECT COUNT("draws") FROM peel_football_stats WHERE "wins" < 17 AND "against" < 1158

Question: Which Draws has an Against larger than 1158, and a Wins of 9, and a Losses smaller than 9?
SQL: SELECT SUM("draws") FROM peel_football_stats WHERE "against" > 1158 AND "wins" = 9 AND "losses" < 9

Question: Which Losses has a Wins of 6, and an Against smaller than 1741?
SQL: SELECT MIN("losses") FROM peel_football_stats WHERE "wins" = 6 AND "against" < 1741