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

Question: What is the gold medal count for the country with a total greater than 32 and more than 128 silvers?
SQL: SELECT AVG("gold") FROM "medal_count" WHERE "total">32 AND "silver">128;

Question: What is the maximum number of silvers for a country with fewer than 12 golds and a total less than 8?
SQL: SELECT MAX("silver") FROM "medal_count" WHERE "gold"<12 AND "total"<8;