CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);

Question: What is the average Events when the top-25 is 12 and there are less than 0 wins?
SQL: SELECT AVG("events") FROM "summary" WHERE "top_25"=12 AND "wins"<0;

Question: What is the sum of Events when the top-25 is more than 5, and the top-10 is less than 4, and wins is more than 2?
SQL: SELECT SUM("events") FROM "summary" WHERE "top_25">5 AND "top_10"<4 AND "wins">2;

Question: What is the average Top-10 when there were 17 cuts made with less than 0 wins?
SQL: SELECT AVG("top_10") FROM "summary" WHERE "cuts_made"=17 AND "wins"<0;

Question: What is the sum of Cuts made when there were more than 72 events?
SQL: SELECT SUM("cuts_made") FROM "summary" WHERE "events">72;

Question: What is the average Top-5 for the open championship, and a Top-10 smaller than 2?
SQL: SELECT AVG("top_5") FROM "summary" WHERE "tournament"='the open championship' AND "top_10"<2;