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 Points with a Lost total of 8?
SQL: SELECT MAX("points") FROM "campeonato_paulista" WHERE "lost"=8;

Question: Which average Points has a Lost higher than 20?
SQL: SELECT AVG("points") FROM "campeonato_paulista" WHERE "lost">20;