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

Question: Which Rank number has a Silver of 0, Gold of 2 and total smaller than 2?
SQL: SELECT COUNT("rank") FROM "medal_table" WHERE "silver"=0 AND "gold"=2 AND "total"<2;

Question: What is the lowest Total containing a Bronze of 0 and Rank smaller than 2?
SQL: SELECT MIN("total") FROM "medal_table" WHERE "bronze"=0 AND "rank"<2;