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

Question: What is the sum of Bronze when the rank is more than 11 and gold is less than 0?
SQL: SELECT SUM("bronze") FROM "medals_table" WHERE "rank">11 AND "gold"<0;

Question: What is the total number of Total when Germany is the nation with less than 1 silver?
SQL: SELECT COUNT("total") FROM "medals_table" WHERE "nation"='germany' AND "silver"<1;

Question: What is the average Total that has a Gold of 0, when the rank is less than 16, the nation is Georgia and there is more than 2 for Bronze?
SQL: SELECT AVG("total") FROM "medals_table" WHERE "gold"=0 AND "rank"<16 AND "nation"='georgia' AND "bronze">2;

Question: What is the highest Total when Georgia is the nation with less than 11 rank?
SQL: SELECT MAX("total") FROM "medals_table" WHERE "nation"='georgia' AND "rank"<11;

Question: What is the total number of Total with more than 16 rank for the nation of Romania with more than 0 for silver?
SQL: SELECT COUNT("total") FROM "medals_table" WHERE "rank">16 AND "nation"='romania' AND "silver">0;