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

Question: Which Rank has a Bronze larger than 1, and a Silver larger than 0, and a Nation of norway (host nation), and a Total larger than 16?
SQL: SELECT COUNT("rank") FROM "medal_count" WHERE "bronze">1 AND "silver">0 AND "nation"='norway (host nation)' AND "total">16;

Question: Which Bronze has a Total of 11, and a Silver smaller than 6?
SQL: SELECT MAX("bronze") FROM "medal_count" WHERE "total"=11 AND "silver"<6;

Question: Which Bronze has a Nation of canada, and a Rank smaller than 6?
SQL: SELECT AVG("bronze") FROM "medal_count" WHERE "nation"='canada' AND "rank"<6;

Question: Which Gold has a Bronze larger than 6?
SQL: SELECT MIN("gold") FROM "medal_count" WHERE "bronze">6;

Question: Which Gold has a Rank larger than 6, and a Nation of netherlands, and a Bronze smaller than 0?
SQL: SELECT SUM("gold") FROM "medal_count" WHERE "rank">6 AND "nation"='netherlands' AND "bronze"<0;