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

Question: Tell me the total for silver more than 0 for italy with gold less than 29
SQL: SELECT MIN("total") FROM "medal_table" WHERE "silver">0 AND "nation"='italy' AND "gold"<29;

Question: Tell me the average bronze for total less than 4 and silver more than 0
SQL: SELECT AVG("bronze") FROM "medal_table" WHERE "total"<4 AND "silver">0;

Question: I want to know the total for silver more than 0 with bronze more than 21 and gold more than 29
SQL: SELECT COUNT("total") FROM "medal_table" WHERE "silver">0 AND "bronze">21 AND "gold">29;