What is the total medals for nation with more than 0 silvers and more than 0 golds?
CREATE TABLE "championships_per_nation" (
  "rank" real,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT AVG("total") FROM "championships_per_nation" WHERE "silver">0 AND "gold">0;