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

Question: What is the sum of Silver when the total is less than 6, the rank is 6 and the Bulgaria is the nation?
SQL: SELECT SUM("silver") FROM "medal_table" WHERE "total"<6 AND "rank"='6' AND "nation"='bulgaria';

Question: What nation has a bronze of 2 with a total less than 5 and rank of 6?
SQL: SELECT "nation" FROM "medal_table" WHERE "bronze"=2 AND "total"<5 AND "rank"='6';

Question: What is the lowest Total for rank 3 with more than 4 gold?
SQL: SELECT MIN("total") FROM "medal_table" WHERE "rank"='3' AND "gold">4;

Question: What is the lowest Total for Italy with less than 0 silver?
SQL: SELECT MIN("total") FROM "medal_table" WHERE "nation"='italy' AND "silver"<0;

Question: What is the Nation with less than 1 silver, and the total is 1, and bronze is less than 0?
SQL: SELECT "nation" FROM "medal_table" WHERE "silver"<1 AND "total"=1 AND "bronze"=0;