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

Question: Which average rank has an Earning amount that is less than $224,589?
SQL: SELECT AVG("rank") FROM "leaders" WHERE "earnings"<'224,589';

Question: Which country has a rank of 2?
SQL: SELECT "country" FROM "leaders" WHERE "rank"=2;