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

Question: Which Against has a Drawn smaller than 5, and a Lost smaller than 6, and a Points larger than 36?
SQL: SELECT COUNT("against") FROM "campeonato_paulista" WHERE "drawn"<5 AND "lost"<6 AND "points">36;

Question: Which Played has a Lost larger than 9, and a Points smaller than 15, and a Position smaller than 12, and a Drawn smaller than 2?
SQL: SELECT AVG("played") FROM "campeonato_paulista" WHERE "lost">9 AND "points"<15 AND "position"<12 AND "drawn"<2;