CREATE TABLE "top_medal_earners" (
  "athlete" text,
  "sport" text,
  "type" text,
  "olympics" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);

Question: What is the average gold of the winter athlete with 1 bronze, less than 3 silver, and less than 4 total medals?
SQL: SELECT AVG("gold") FROM "top_medal_earners" WHERE "bronze"=1 AND "type"='winter' AND "silver"<3 AND "total"<4;

Question: What is the highest total medals winter athlete Clara Hughes has?
SQL: SELECT MAX("total") FROM "top_medal_earners" WHERE "type"='winter' AND "athlete"='clara hughes';

Question: What is the lowest number of bronze a short track athlete with 0 gold medals has?
SQL: SELECT MIN("bronze") FROM "top_medal_earners" WHERE "sport"='short track' AND "gold"=0;