How many silvers on average for nations with less than 3 total, ranked 6, and over 1 bronze?
CREATE TABLE "medals_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT AVG("silver") FROM "medals_table" WHERE "total"<3 AND "rank"=6 AND "bronze">1;