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

Question: What is the Rank of the Nation with more than 1 Gold and a more than 4 Total medals?
SQL: SELECT SUM("rank") FROM "medal_table" WHERE "gold">1 AND "total">4;

Question: What is the Gold for the Nation in Rank 4 with less than 1 Silver?
SQL: SELECT MIN("gold") FROM "medal_table" WHERE "rank"=4 AND "silver"<1;