CREATE TABLE "list_of_olympic_medalists_in_athletics_m" (
  "rank" real,
  "athlete" text,
  "nation" text,
  "olympics" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total_min_2_medals" real
);

Question: What is the maximum rank of the nation that won 4 gold medals?
SQL: SELECT MAX("rank") FROM "list_of_olympic_medalists_in_athletics_m" WHERE "gold"=4;