Table: swdf_league_stats
Columns: south_west_dfl
wins
byes
losses
draws
against

Question: How many wins did they have when they had 5 losses?
SQL: SELECT "wins" FROM swdf_league_stats WHERE "losses" = 5

Question: How many byes did they have against smaller than 1544, 13 wins, and draws larger than 0?
SQL: SELECT COUNT("byes") FROM swdf_league_stats WHERE "against" < 1544 AND "wins" = 13 AND "draws" > 0

Question: How many byes has a draw larger than 0?
SQL: SELECT COUNT("byes") FROM swdf_league_stats WHERE "draws" > 0

Question: What is the lowest against that has less than 9 wins, and draws smaller than 0?
SQL: SELECT MIN("against") FROM swdf_league_stats WHERE "wins" < 9 AND "draws" < 0

Question: What is the total number of wins that has byes less than 0?
SQL: SELECT COUNT("wins") FROM swdf_league_stats WHERE "byes" < 0