What is the highest total medals a team with less than 15 gold, less than 5 bronze, and a rank larger than 10 has?
CREATE TABLE "medal_count" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT MAX("total") FROM "medal_count" WHERE "gold"<15 AND "bronze"<5 AND "rank">10;