What is the average Gold award that has a Silver award greater than 2, and a Bronze award less than 13, and a Total greater than 24?
CREATE TABLE "total" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT AVG("gold") FROM "total" WHERE "silver">2 AND "bronze"<13 AND "total">24;