The nation of denmark has what average total nad more than 0 gold?
CREATE TABLE "medal_table" (
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT AVG("total") FROM "medal_table" WHERE "nation"='denmark' AND "gold">0;