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

Question: Which was the lowest gold when silver was smaller than 0?
SQL: SELECT MIN("gold") FROM "medal_table" WHERE "silver"<0;

Question: Which is the highest total at rank 6, bronze 2, and gold larger than 0?
SQL: SELECT MAX("total") FROM "medal_table" WHERE "rank"=6 AND "bronze"=2 AND "gold">0;

Question: Which is the highest bronze at Chinese Taipei when the rank was higher than 5 and total was smaller than 1?
SQL: SELECT MAX("bronze") FROM "medal_table" WHERE "rank">5 AND "nation"='chinese taipei' AND "total"<1;