Events of 22, and a Rank smaller than 4 involved which of the lowest earnings ($)?
CREATE TABLE "leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "earnings" real,
  "events" real,
  "wins" real
);
SELECT MIN("earnings") FROM "leaders" WHERE "events"=22 AND "rank"<4;