What is the highest total medals won by a nation that had 7 bronze but more than 12 silver medals?
CREATE TABLE "performance_by_nation" (
  "rank" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT MAX("total") FROM "performance_by_nation" WHERE "bronze"=7 AND "silver">12;