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

Question: Which Lost has Points of 28 and a Drawn smaller than 8?
SQL: SELECT AVG("lost") FROM "campeonato_paulista" WHERE "points"=28 AND "drawn"<8;

Question: How many Againsts have Points larger than 31 and a Drawn larger than 6?
SQL: SELECT COUNT("against") FROM "campeonato_paulista" WHERE "points">31 AND "drawn">6;