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

Question: What is the most silver medals won among nations that won more than 40 medals total, less than 25 of them being gold, and more than 15 of them being bronze?
SQL: SELECT MAX("silver") FROM "medals_by_country" WHERE "total">40 AND "gold"<25 AND "bronze">15;