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

Question: How many totals have a Gold larger than 0, and a Bronze smaller than 0?
SQL: SELECT COUNT("total") FROM "medal_table" WHERE "gold">0 AND "bronze"<0;

Question: Which Total has a Bronze larger than 1, and a Gold larger than 0?
SQL: SELECT MAX("total") FROM "medal_table" WHERE "bronze">1 AND "gold">0;