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

Question: How many players named bob charles with earnings over $7,646,958?
SQL: SELECT COUNT("rank") FROM "leaders" WHERE "player"='bob charles' AND "earnings">'7,646,958';

Question: How much have players earned with 14 wins ranked below 3?
SQL: SELECT COUNT("earnings") FROM "leaders" WHERE "wins"=14 AND "rank">3;

Question: How many average wins for players ranked below 2 with earnings greater than $7,676,552?
SQL: SELECT AVG("wins") FROM "leaders" WHERE "earnings">'7,676,552' AND "rank">2;