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

Question: What is the sum of Silver with a Bronze that is larger than 0 with a Gold smaller than 0?
SQL: SELECT SUM("silver") FROM "medals_table" WHERE "bronze">0 AND "gold"<0;

Question: What is the average Silver with a Total that is smaller than 1?
SQL: SELECT AVG("silver") FROM "medals_table" WHERE "total"<1;

Question: What is the lowest Rank with a Nation that is east germany?
SQL: SELECT MIN("rank") FROM "medals_table" WHERE "nation"='east germany';