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

Question: What is the average Gold entry for the Netherlands that also has a Bronze entry that is greater than 0?
SQL: SELECT AVG("gold") FROM "medal_table" WHERE "nation"='netherlands' AND "bronze">0;

Question: What Nation has a Gold entry that is greater than 0, a Total that is greater than 2, a Silver entry that is larger than 1, and 0 Bronze?
SQL: SELECT "nation" FROM "medal_table" WHERE "gold">0 AND "total">2 AND "bronze"=0 AND "silver">1;

Question: What is Turkey's average Gold entry that also has a Bronze entry that is smaller than 2 and the Total is greater than 1?
SQL: SELECT AVG("gold") FROM "medal_table" WHERE "bronze"<2 AND "nation"='turkey' AND "total">1;