What is the total with a rank less than 5, gold larger than 5 and bronze larger than 8?
CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT SUM("total") FROM "medal_table" WHERE "rank"<5 AND "gold">5 AND "bronze">8;