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

Question: How many gold(s) for teams with a total of 14, and over 6 bronze medals?
SQL: SELECT SUM("gold") FROM "medal_table" WHERE "total"=14 AND "bronze">6;

Question: What is the highest number of gold medals for the team ranked 7 with less than 3 bronze?
SQL: SELECT MAX("gold") FROM "medal_table" WHERE "rank"='7' AND "bronze"<3;

Question: What is the average number of golds for nations with less than 2 silver, named uzbekistan, and less than 4 bronze?
SQL: SELECT AVG("gold") FROM "medal_table" WHERE "silver"<2 AND "nation"='uzbekistan' AND "bronze"<4;