CREATE TABLE "torneio_rio_s_o_paulo" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);

Question: Which Against is the highest one that has a Difference of 12?
SQL: SELECT MAX("against") FROM "torneio_rio_s_o_paulo" WHERE "difference"='12';

Question: Which average Played has a Drawn smaller than 1, and Points larger than 4?
SQL: SELECT AVG("played") FROM "torneio_rio_s_o_paulo" WHERE "drawn"<1 AND "points">4;

Question: Which Position has a Played larger than 9?
SQL: SELECT SUM("position") FROM "torneio_rio_s_o_paulo" WHERE "played">9;

Question: Which Lost is the highest one that has a Drawn smaller than 4, and a Played smaller than 9?
SQL: SELECT MAX("lost") FROM "torneio_rio_s_o_paulo" WHERE "drawn"<4 AND "played"<9;

Question: Which Points is the highest one that has a Position of 1, and a Lost smaller than 0?
SQL: SELECT MAX("points") FROM "torneio_rio_s_o_paulo" WHERE "position"=1 AND "lost"<0;