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

Question: What nation was number 1 and had a total larger than 5?
SQL: SELECT "nation" FROM "medals_table" WHERE "total">5 AND "rank"='1';

Question: How many bronzes had a rank of 10 and 0 gold?
SQL: SELECT SUM("bronze") FROM "medals_table" WHERE "rank"='10' AND "gold"<0;

Question: Hold many gold had more than 16 bronzes?
SQL: SELECT COUNT("gold") FROM "medals_table" WHERE "bronze">16;

Question: What is the lowest amount of gold for more than 16 silver?
SQL: SELECT MIN("gold") FROM "medals_table" WHERE "silver">16;