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

Question: Tell me the sum of wins with earnings of 2,147,530
SQL: SELECT SUM("wins") FROM "leaders" WHERE "earnings"='2,147,530';

Question: Tell me the sum of earnings for rank less than 1
SQL: SELECT SUM("earnings") FROM "leaders" WHERE "rank"<1;

Question: Tell me the sum of rank with wins of 17
SQL: SELECT SUM("rank") FROM "leaders" WHERE "wins"=17;