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

Question: What is the total when the nation is brazil (bra) and bronze is more than 2?
SQL: SELECT SUM("total") FROM "medal_table" WHERE "nation"='brazil (bra)' AND "bronze">2;

Question: what is the least total when the nation is canada (can) and bronze is less than 0?
SQL: SELECT MIN("total") FROM "medal_table" WHERE "nation"='canada (can)' AND "bronze"<0;

Question: what is bronze when the rank is 3 and the total is more than 2?
SQL: SELECT SUM("bronze") FROM "medal_table" WHERE "rank"='3' AND "total">2;