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

Question: What is the number of gold when the silver is 1, bronze is 1, and the nation is Austria?
SQL: SELECT COUNT("gold") FROM "medals_table" WHERE "silver"=1 AND "bronze"=1 AND "nation"='austria';

Question: What nation has 2 bronze and a rank of 9?
SQL: SELECT "nation" FROM "medals_table" WHERE "bronze"=2 AND "rank"=9;

Question: What is the highest gold when bronze is 1, and rank is 5?
SQL: SELECT MAX("gold") FROM "medals_table" WHERE "bronze"=1 AND "rank"=5;

Question: What is the lowest gold when there are 0 bronze and the total is less than 2, and silver is less than 0?
SQL: SELECT MIN("gold") FROM "medals_table" WHERE "bronze"=0 AND "total"<2 AND "silver"<0;

Question: What is the sum of rank when total is 3 and the nation is Australia?
SQL: SELECT SUM("rank") FROM "medals_table" WHERE "total"=3 AND "nation"='australia';