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

Question: What is the lowest total that has barbados as the nation with a bronze greater than 0?
SQL: SELECT MIN("total") FROM "all_time_medal_table" WHERE "nation"='barbados' AND "bronze">0;

Question: How many silvers have a gold greater than 2, a bronze less than 35, china as the nation, with a total greater than 26?
SQL: SELECT COUNT("silver") FROM "all_time_medal_table" WHERE "gold">2 AND "bronze"<35 AND "nation"='china' AND "total">26;

Question: What is the largest total that has a gold less than 0?
SQL: SELECT MAX("total") FROM "all_time_medal_table" WHERE "gold"<0;

Question: How many golds have a silver greater than 1, vietnam as the nation, with a bronze less than 3?
SQL: SELECT COUNT("gold") FROM "all_time_medal_table" WHERE "silver">1 AND "nation"='vietnam' AND "bronze"<3;