CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);

Question: What is the average gold total for nations ranked 6 with 1 total medal and 1 bronze medal?
SQL: SELECT AVG("gold") FROM "medal_table" WHERE "total"=1 AND "rank"='6' AND "bronze">1;