What is the average Gold, when Silver is less than 107, when Bronze is greater than 42, and when Rank is 3?
CREATE TABLE "medal_table" (
  "rank" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT AVG("gold") FROM "medal_table" WHERE "silver"<107 AND "bronze">42 AND "rank"='3';