CREATE TABLE "solheim_cup_record" (
  "year" text,
  "total_matches" real,
  "total_w_l_h" text,
  "singles_w_l_h" text,
  "points_won" real,
  "points_pct" real
);

Question: In 2007, how many points were won when more than 5 matches were played?
SQL: SELECT COUNT("points_won") FROM "solheim_cup_record" WHERE "year"='2007' AND "total_matches">5;

Question: In 2007, what is the average total matches with points % larger than 33.3?
SQL: SELECT AVG("total_matches") FROM "solheim_cup_record" WHERE "points_pct">33.3 AND "year"='2007';