What is the sum of gold medal totals for nations with 1 silver, less than 2 bronze, and ranked below 10?
CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT SUM("gold") FROM "medal_table" WHERE "silver"=1 AND "bronze"<2 AND "total"=1 AND "rank"<10;