How many gold have a National of New Zealand with a total less than 2?
CREATE TABLE "medals_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT SUM("gold") FROM "medals_table" WHERE "nation"='new zealand' AND "total"<2;