What's the average total if the Bronze is 5 and the Silver is less than 4?
CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT AVG("total") FROM "medal_table" WHERE "bronze"=5 AND "silver"<4;