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

Question: What average Total has a Rank of 3 and a Bronze award larger than 3?
SQL: SELECT AVG("total") FROM "total" WHERE "rank"='3' AND "bronze">3;

Question: What average Total has a Gold award of 13 and a Bronze award less than 13?
SQL: SELECT AVG("total") FROM "total" WHERE "gold"=13 AND "bronze"<13;

Question: 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?
SQL: SELECT AVG("gold") FROM "total" WHERE "silver">2 AND "bronze"<13 AND "total">24;