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

Question: How many points are listed when the position is 2?
SQL: SELECT MAX("points") FROM "apea_s_campeonato_paulista" WHERE "position"=2;

Question: When there is a lost of 2 what is the mumber drawn?
SQL: SELECT MAX("drawn") FROM "apea_s_campeonato_paulista" WHERE "lost"=2;

Question: How many games are played?
SQL: SELECT MIN("played") FROM "apea_s_campeonato_paulista";

Question: When the position is 2 what is the number lost?
SQL: SELECT MIN("lost") FROM "apea_s_campeonato_paulista" WHERE "position"=2;

Question: When the team is ypiranga-sp what is the number of won games?
SQL: SELECT MIN("won") FROM "apea_s_campeonato_paulista" WHERE "team"='Ypiranga-SP';