CREATE TABLE "leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "earnings" real,
  "events" real,
  "wins" real
);

Question: What's the wins with less than 27 events and earnings of $1,579,988?
SQL: SELECT AVG("wins") FROM "leaders" WHERE "earnings"='1,579,988' AND "events"<27;

Question: What's the total earnings ($) with more than two wins and a rank less than 2?
SQL: SELECT COUNT("earnings") FROM "leaders" WHERE "wins">2 AND "rank"<2;

Question: Who's ranked less than 2?
SQL: SELECT "player" FROM "leaders" WHERE "rank"<2;