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

Question: What is the total number of bronze medals the U.S. Virgin Islands, which has less than 0 golds, has?
SQL: SELECT COUNT("bronze") FROM "medal_table" WHERE "nation"='u.s. virgin islands' AND "gold"<0;

Question: What is the rank of the team with 11 total medals and more than 4 silver medals has?
SQL: SELECT SUM("rank") FROM "medal_table" WHERE "total"=11 AND "silver">4;

Question: What is the lowest total medals the team with more than 0 bronze, 6 silver, and a rank higher than 3 has?
SQL: SELECT MIN("total") FROM "medal_table" WHERE "bronze">0 AND "silver"=6 AND "rank"<3;

Question: What is the highest rank of Venezuela, which has more than 9 bronze medals?
SQL: SELECT MIN("rank") FROM "medal_table" WHERE "nation"='venezuela' AND "bronze">9;

Question: What is the lowest rank of the team with 0 bronze, 1 silver, and more than 0 gold?
SQL: SELECT MIN("rank") FROM "medal_table" WHERE "bronze"=0 AND "silver"=1 AND "gold">0;