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 average Lost has an Against larger than 19, and a Drawn smaller than 1?
SQL: SELECT AVG("lost") FROM "torneio_rio_s_o_paulo" WHERE "against">19 AND "drawn"<1;

Question: Which average Against has Drawn of 3, and Points larger than 9, and a Team of portuguesa?
SQL: SELECT AVG("against") FROM "torneio_rio_s_o_paulo" WHERE "drawn"=3 AND "points">9 AND "team"='portuguesa';

Question: Which average Against has Points of 6, and a Played smaller than 9?
SQL: SELECT AVG("against") FROM "torneio_rio_s_o_paulo" WHERE "points"=6 AND "played"<9;

Question: Which average Points have a Position of 7, and a Lost smaller than 4?
SQL: SELECT AVG("points") FROM "torneio_rio_s_o_paulo" WHERE "position"=7 AND "lost"<4;

Question: Which average Points have a Lost larger than 2, and Drawn larger than 2, and a Difference of 0?
SQL: SELECT AVG("points") FROM "torneio_rio_s_o_paulo" WHERE "lost">2 AND "drawn">2 AND "difference"='0';