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

Question: What rank was the country with no bronze but at least 1 silver medals?
SQL: SELECT AVG("rank") FROM "medal_count" WHERE "bronze"<1 AND "silver">1;

Question: What is the smallest number of gold medals a country with 1 bronze, and a total of 3 medals which is lower than rank 7?
SQL: SELECT MIN("gold") FROM "medal_count" WHERE "bronze"=1 AND "total"=3 AND "rank">7;

Question: What is the smallest number of gold medals a country with 7 medals has?
SQL: SELECT MIN("gold") FROM "medal_count" WHERE "total"=7;