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

Question: Old Scotch had less than 9 losses and how much against?
SQL: SELECT SUM("against") FROM "2012_ladder" WHERE "losses"<9 AND "ntfa_div_2"='old scotch';

Question: Of the teams that had more than 0 byes, what was the total number of losses?
SQL: SELECT COUNT("losses") FROM "2012_ladder" WHERE "byes"<0;