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

Question: What is the number of Bronze for the Nation of Uganda with less than 2 Gold and Total medals?
SQL: SELECT COUNT("bronze") FROM "medal_table" WHERE "gold"<2 AND "nation"='uganda' AND "total">2;

Question: With less than 7 Silver medals, how many Gold medals did Canada receive?
SQL: SELECT MAX("gold") FROM "medal_table" WHERE "nation"='canada' AND "silver"<7;