What is the smallest number of gold medals a country with 7 medals has?
CREATE TABLE "medal_count" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT MIN("gold") FROM "medal_count" WHERE "total"=7;