Which Total has a Rank of 5, and a Bronze smaller than 0?
CREATE TABLE "medals_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT AVG("total") FROM "medals_table" WHERE "rank"='5' AND "bronze"<0;