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

Question: How many Golds did Rank 10 get, with a Bronze larger than 2?
SQL: SELECT COUNT("gold") FROM "medals_table" WHERE "rank"='10' AND "bronze">2;

Question: What rank is Turkmenistan, who had 0 silver's and Less than 2 golds?
SQL: SELECT "rank" FROM "medals_table" WHERE "silver"=0 AND "gold"<2 AND "nation"='turkmenistan';

Question: What's the biggest Bronze that has less than 0 Silvers?
SQL: SELECT MAX("bronze") FROM "medals_table" WHERE "silver"<0;

Question: What is the total Gold's less than 0?
SQL: SELECT COUNT("total") FROM "medals_table" WHERE "gold"<0;