CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);

Question: Who scored the lowest with 8 gold medals and less than 4 silver medals?
SQL: SELECT MIN("total") FROM "medal_table" WHERE "gold"=8 AND "silver"<4;

Question: What is the rank for the 3 silver medals?
SQL: SELECT "rank" FROM "medal_table" WHERE "silver"=3;