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

Question: Which Bronze has a Total of 4, and a Gold smaller than 1?
SQL: SELECT MIN("bronze") FROM "medal_table" WHERE "total"=4 AND "gold"<1;

Question: Which Bronze has a Silver larger than 1, a Total larger than 3, a Nation of turkey, and a Gold smaller than 2?
SQL: SELECT SUM("bronze") FROM "medal_table" WHERE "silver">1 AND "total">3 AND "nation"='turkey' AND "gold"<2;

Question: Which Gold has a Bronze of 1, and a Total smaller than 3?
SQL: SELECT AVG("gold") FROM "medal_table" WHERE "bronze"=1 AND "total"<3;