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

Question: Which team had 21 points?
SQL: SELECT "team" FROM "campeonato_paulista" WHERE "points"=21;

Question: How many games did the team with 29 for win?
SQL: SELECT COUNT("won") FROM "campeonato_paulista" WHERE "for"=29;

Question: How many games did Palmeiras win?
SQL: SELECT MAX("won") FROM "campeonato_paulista" WHERE "team"='Palmeiras';