What is the average total when the silver is larger than 2, and a gold larger than 1, and a nation of total?
CREATE TABLE "medals_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT AVG("total") FROM "medals_table" WHERE "silver">2 AND "gold">1 AND "nation"='total';