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

Question: What is the rank of Greg Norman who earned more than $12,507,322?
SQL: SELECT AVG("rank") FROM "leaders" WHERE "player"='greg norman' AND "earnings">'12,507,322';

Question: What is the rank of the United States player Davis Love III with earnings under $12,487,463?
SQL: SELECT MAX("rank") FROM "leaders" WHERE "country"='united states' AND "player"='davis love iii' AND "earnings"<'12,487,463';