CREATE TABLE "2007_ladder" (
  "south_west_dfl" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);

Question: How many wins did they have when they had 5 losses?
SQL: SELECT "wins" FROM "2007_ladder" 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 "2007_ladder" WHERE "against"<1544 AND "wins"=13 AND "draws">0;

Question: How many byes has a draw larger than 0?
SQL: SELECT COUNT("byes") FROM "2007_ladder" 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 "2007_ladder" 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 "2007_ladder" WHERE "byes"<0;