What is the number of earning for more than 2 wins and less than 25 events?
CREATE TABLE "leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "earnings" real,
  "events" real,
  "wins" real
);
SELECT SUM("earnings") FROM "leaders" WHERE "wins">2 AND "events"<25;