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

Question: What is the sum of a rank whose nation is West Germany and has bronze larger than 0?
SQL: SELECT SUM("rank") FROM "medal_table" WHERE "nation"='west germany' AND "bronze">0;

Question: What is the total of Bronze with a total smaller than 3, and a nation of Poland, and a rank larger than 4?
SQL: SELECT COUNT("bronze") FROM "medal_table" WHERE "total"<3 AND "nation"='poland' AND "rank">4;