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

Question: How many games were played by the Scottish Wanderers where less than 5 Points were scored?
SQL: SELECT SUM("played") FROM "apea_s_campeonato_paulista" WHERE "team"='scottish wanderers' AND "points"<5;

Question: How many games were played where exactly 15 points were scored?
SQL: SELECT SUM("played") FROM "apea_s_campeonato_paulista" WHERE "points"=15;