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

Question: How many bronze medals did west germany win when they had less than 2 silver medals?
SQL: SELECT SUM("bronze") FROM "medal_table" WHERE "nation"='west germany' AND "silver"<2;

Question: How many bronze medals were won when the total was larger than 2 and the more than 2 gold medals were won?
SQL: SELECT SUM("bronze") FROM "medal_table" WHERE "total">2 AND "gold">2;

Question: How many gold medals were won when more than 2 bronze medals were won?
SQL: SELECT SUM("gold") FROM "medal_table" WHERE "bronze">2;