What average bronze has 0 as the silver, 17 as the rank, and a gold less than 1?
CREATE TABLE "medals_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT AVG("bronze") FROM "medals_table" WHERE "silver"=0 AND "rank"='17' AND "gold"<1;