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

Question: What is the number of gold medals when the number of bronze medals is 8?
SQL: SELECT "gold" FROM "medals_table" WHERE "bronze"='8';

Question: What rank is the nation that has a bronze of source: Maltese Olympic Committee?
SQL: SELECT "rank" FROM "medals_table" WHERE "bronze"='source: maltese olympic committee';

Question: What rank is the nation with 2 silver medals?
SQL: SELECT "rank" FROM "medals_table" WHERE "silver"='2';

Question: What is the total medal count for the nation that has 5 gold?
SQL: SELECT "total" FROM "medals_table" WHERE "gold"='5';

Question: How many bronze medals does the nation ranked number 1 have?
SQL: SELECT "bronze" FROM "medals_table" WHERE "rank"='1';

Question: What nation has 28 bronze medals?
SQL: SELECT "nation" FROM "medals_table" WHERE "bronze"='28';