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

Question: Who has the lowest earnings that has a rank smaller than 2?
SQL: SELECT MIN("earnings") FROM "leaders" WHERE "rank"<2;

Question: What is the average rank of someone who earned smaller than 3,069,633?
SQL: SELECT AVG("rank") FROM "leaders" WHERE "earnings"<'3,069,633';

Question: What has the average wins in Australia who earned smaller than 3,133,913?
SQL: SELECT AVG("wins") FROM "leaders" WHERE "country"='australia' AND "earnings"<'3,133,913';

Question: What was the total number of wins with player Mike Hill with a rank bigger than 2?
SQL: SELECT COUNT("wins") FROM "leaders" WHERE "rank">2 AND "player"='mike hill';