What is the gold when silver is less than 1, rank is 12, and total is less than 3?
CREATE TABLE "performances_by_nation" (
  "rank" real,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT MAX("gold") FROM "performances_by_nation" WHERE "silver"<1 AND "rank"=12 AND "total"<3;