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

Question: What is the smallest bronze with a Gold smaller than 3, and a Silver larger than 1, and a Rank of 6, and a Nation of hungary?
SQL: SELECT MIN("bronze") FROM "medal_table" WHERE "gold"<3 AND "silver">1 AND "rank"=6 AND "nation"='hungary';

Question: What is the average bronze with a rank of 4 and less than 1 silver?
SQL: SELECT AVG("bronze") FROM "medal_table" WHERE "rank"=4 AND "silver"<1;

Question: Which silver has a Gold larger than 4, and a Rank of 1?
SQL: SELECT "silver" FROM "medal_table" WHERE "gold">4 AND "rank"=1;

Question: What lowest bronze has a total of 3, a Nation of hungary, and a Gold smaller than 0?
SQL: SELECT MIN("bronze") FROM "medal_table" WHERE "total"=3 AND "nation"='hungary' AND "gold"<0;

Question: How many gold have a Rank of 7, and a Bronze of 1, and a Silver smaller than 0?
SQL: SELECT SUM("gold") FROM "medal_table" WHERE "rank"=7 AND "bronze"=1 AND "silver"<0;

Question: How many Totals have a Silver smaller than 2, and a Nation of ukraine, and a Gold smaller than 3?
SQL: SELECT COUNT("total") FROM "medal_table" WHERE "silver"<2 AND "nation"='ukraine' AND "gold"<3;