CREATE TABLE "2012_ladder" (
  "geelong_dfl" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);

Question: What is the lowest number of wins where the byes are less than 0?
SQL: SELECT MIN("wins") FROM "2012_ladder" WHERE "byes"<0;

Question: What is the lowest number of wins where the losses are more than 12 and the draws are less than 0?
SQL: SELECT MIN("wins") FROM "2012_ladder" WHERE "losses">12 AND "draws"<0;

Question: What is the average of wins when the byes are less than 0?
SQL: SELECT AVG("wins") FROM "2012_ladder" WHERE "byes"<0;

Question: What is the total number of losses where the byes were greater than 0?
SQL: SELECT COUNT("losses") FROM "2012_ladder" WHERE "byes">0;

Question: What is the highest number of byes where the losses were 9 and the draws were less than 0?
SQL: SELECT MAX("byes") FROM "2012_ladder" WHERE "losses"=9 AND "draws"<0;

Question: What are the average losses for Geelong DFL of Bell Post Hill where the draws are less than 0?
SQL: SELECT AVG("losses") FROM "2012_ladder" WHERE "geelong_dfl"='bell post hill' AND "draws"<0;