Which Events have Earnings ($) of 1,841,117, and a Rank smaller than 4?
CREATE TABLE "leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "earnings" real,
  "events" real,
  "wins" real
);
SELECT SUM("events") FROM "leaders" WHERE "earnings"='1,841,117' AND "rank"<4;