What's the lowest Gold if the Rank is over 4 but the Total is less than 1?
CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT MIN("gold") FROM "medal_table" WHERE "rank">4 AND "total"<1;