CREATE TABLE "tournament_summary" (
  "rank" real,
  "team" text,
  "played" real,
  "wins" real,
  "losses" real,
  "points" real
);

Question: What is the average rank for more than 12 points?
SQL: SELECT AVG("rank") FROM "tournament_summary" WHERE "points">12;

Question: What is the rank for less than 6 plays?
SQL: SELECT SUM("rank") FROM "tournament_summary" WHERE "played"<6;