What is the lowest rank of Hungary where there was a total of 8 medals, including 2 silver?
CREATE TABLE "medal_count" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT MIN("rank") FROM "medal_count" WHERE "total"=8 AND "nation"='hungary' AND "silver">2;