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

Question: How many total golds do teams have when the total medals is less than 1?
SQL: SELECT SUM("gold") FROM "medal_table" WHERE "total"<1;