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

Question: What is the highest against when the lost is 3 with less than 30 points?
SQL: SELECT MAX("against") FROM "campeonato_paulista" WHERE "lost"=3 AND "points"<30;

Question: What is the average Played when the against is 51, and the drawn is more than 1?
SQL: SELECT AVG("played") FROM "campeonato_paulista" WHERE "against"=51 AND "drawn">1;