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

Question: Name the sum of gold which has a silver more than 1
SQL: SELECT SUM("gold") FROM "medal_table" WHERE "silver">1;

Question: Name the average rank for west germany when gold is more than 1
SQL: SELECT AVG("rank") FROM "medal_table" WHERE "nation"='west germany' AND "gold">1;

Question: Name the average rank for when bronze is more than 1
SQL: SELECT AVG("rank") FROM "medal_table" WHERE "bronze">1;

Question: I want the sum of gold for silver being less than 0
SQL: SELECT SUM("gold") FROM "medal_table" WHERE "silver"<0;