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

Question: Which nation's total is less than 19 when there's less than 1 bronze?
SQL: SELECT "nation" FROM "medal_table" WHERE "total"<19 AND "bronze"<1;

Question: How many totals does Chile have when the number of silvers is more than 0?
SQL: SELECT COUNT("total") FROM "medal_table" WHERE "nation"='chile' AND "silver">0;