What is the sum of all totals with a rank greater than 6, gold greater than 0, and silver greater than 2?
CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT SUM("total") FROM "medal_table" WHERE "rank">6 AND "gold">0 AND "silver"=2;