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

Question: Name the average events for miller barber
SQL: SELECT AVG("events") FROM "leaders" WHERE "player"='miller barber';

Question: Name the most wins for earnings of 130,002
SQL: SELECT MAX("wins") FROM "leaders" WHERE "earnings"='130,002';

Question: Name the average wins for earnings more than 120,367 and events less than 13
SQL: SELECT AVG("wins") FROM "leaders" WHERE "earnings">'120,367' AND "events"<13;

Question: Name the average rank for earnings less than 231,008 and wins less than 1
SQL: SELECT AVG("rank") FROM "leaders" WHERE "earnings"<'231,008' AND "wins"<1;