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

Question: What is the average Against when the drawn is more than 2 and the Difference of- 17, and a Played smaller than 20?
SQL: SELECT AVG("against") FROM "campeonato_paulista" WHERE "drawn">2 AND "difference"='- 17' AND "played"<20;

Question: What is the number of Position when the team was são paulo railway and the against is less than 46?
SQL: SELECT COUNT("position") FROM "campeonato_paulista" WHERE "team"='são paulo railway' AND "against"<46;

Question: What is the Team when the lost is less than 13, and the position is less than 4, with a Difference of 42?
SQL: SELECT "team" FROM "campeonato_paulista" WHERE "lost"<13 AND "position"<4 AND "difference"='42';

Question: What is the sum of Played when the drawn is less than 2 and against is more than 29?
SQL: SELECT SUM("played") FROM "campeonato_paulista" WHERE "drawn"<2 AND "against">29;