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

Question: What is the rank for the player with 5 wins and under 32 events?
SQL: SELECT SUM("rank") FROM "leaders" WHERE "wins"=5 AND "events"<32;

Question: What is the rank for the player with over $1,627,890?
SQL: SELECT COUNT("rank") FROM "leaders" WHERE "earnings">'1,627,890';

Question: What is the rank for the player with over 2 wins and under $1,162,581 in earnings?
SQL: SELECT SUM("rank") FROM "leaders" WHERE "earnings"<'1,162,581' AND "wins">2;