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

Question: What is the mean number of events where the rank is 1 and there are more than 3 wins?
SQL: SELECT AVG("events") FROM "leaders" WHERE "rank"=1 AND "wins">3;