Table: peel_football_league
Columns: peel
wins
byes
losses
draws
against

Question: What is the largest Against with a Byes larger than 0?
SQL: SELECT MAX("against") FROM peel_football_league WHERE "byes" > 0

Question: Which Wins has an Against of 1940, and a Byes larger than 0?
SQL: SELECT MAX("wins") FROM peel_football_league WHERE "against" = 1940 AND "byes" > 0

Question: Which Draws has a Wins of 10, and a Peel of south mandurah, and a Byes larger than 0?
SQL: SELECT AVG("draws") FROM peel_football_league WHERE "wins" = 10 AND "peel" = 'south mandurah' AND "byes" > 0

Question: Which Against has a Draws larger than 0, a Losses smaller than 16, and a Wins smaller than 4?
SQL: SELECT MAX("against") FROM peel_football_league WHERE "draws" > 0 AND "losses" < 16 AND "wins" < 4

Question: Which Losses has an Against of 1101, and a Byes smaller than 0?
SQL: SELECT COUNT("losses") FROM peel_football_league WHERE "against" = 1101 AND "byes" < 0

Question: Which Byes has a Losses smaller than 1?
SQL: SELECT MAX("byes") FROM peel_football_league WHERE "losses" < 1