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

Question: Tell me the sum of rank for when gold is more than 0 and silver less than 23 with total more than 32
SQL: SELECT SUM("rank") FROM "medal_table" WHERE "gold">0 AND "total">32 AND "silver"<23;

Question: Tell me the sum of silver for liechtenstein and bronze more than 4
SQL: SELECT SUM("silver") FROM "medal_table" WHERE "nation"='liechtenstein' AND "bronze">4;