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

Question: What is the total number of medals for West Germany with more than 1 bronze medal and more than 2 gold medals?
SQL: SELECT COUNT("total") FROM "medals_table" WHERE "bronze">1 AND "nation"='west germany' AND "gold">2;

Question: What is Denmark's rank?
SQL: SELECT "rank" FROM "medals_table" WHERE "nation"='denmark';