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

Question: How many Played have a Lost smaller than 3, and a Difference of 6, and Points larger than 6?
SQL: SELECT COUNT("played") FROM "torneio_rio_s_o_paulo" WHERE "lost"<3 AND "difference"='6' AND "points">6;

Question: How many Points have a Drawn smaller than 0?
SQL: SELECT COUNT("points") FROM "torneio_rio_s_o_paulo" WHERE "drawn"<0;

Question: How many Drawn have an Against smaller than 5, and a Played smaller than 3?
SQL: SELECT COUNT("drawn") FROM "torneio_rio_s_o_paulo" WHERE "against"<5 AND "played"<3;

Question: Which Position has an Against of 5, and a Drawn larger than 0?
SQL: SELECT SUM("position") FROM "torneio_rio_s_o_paulo" WHERE "against"=5 AND "drawn">0;

Question: Which Played is the highest one that has a Lost smaller than 1, and a Difference of 6, and an Against larger than 2?
SQL: SELECT MAX("played") FROM "torneio_rio_s_o_paulo" WHERE "lost"<1 AND "difference"='6' AND "against">2;

Question: Which Points is the lowest one that has a Position larger than 5?
SQL: SELECT MIN("points") FROM "torneio_rio_s_o_paulo" WHERE "position">5;