CREATE TABLE "women" (
  "aces" real,
  "player" text,
  "opponent" text,
  "year" real,
  "event" text,
  "sets" real,
  "result" text
);

Question: what's the earliest year that serena williams had more than 2 sets?
SQL: SELECT MIN("year") FROM "women" WHERE "player"='serena williams' AND "sets">2;

Question: what's the earliest year that the wimbledon opponent was zheng jie?
SQL: SELECT MIN("year") FROM "women" WHERE "event"='wimbledon' AND "opponent"='zheng jie';

Question: what year was the opponent caroline garcia?
SQL: SELECT SUM("year") FROM "women" WHERE "opponent"='caroline garcia';

Question: what's the most recent year that samantha stosur was the opponent with 20 aces and having played more than 2 sets?
SQL: SELECT MAX("year") FROM "women" WHERE "aces"=20 AND "opponent"='samantha stosur' AND "sets">2;

Question: what year was the memphis event?
SQL: SELECT SUM("year") FROM "women" WHERE "event"='memphis';