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 value for Top-5, when the value for Top-25 is 0, and the value for Wins is less than 0?
SQL: SELECT AVG("top_5") FROM "summary" WHERE "top_25"=0 AND "wins"<0;

Question: What is the total amount of Top-25 having a Top-5 greater than 1?
SQL: SELECT COUNT("top_25") FROM "summary" WHERE "top_5">1;

Question: What is the sum of the value Top-10 that has a Cuts value of 2 and a Wins value smaller than 0?
SQL: SELECT SUM("top_10") FROM "summary" WHERE "cuts_made"=2 AND "wins"<0;

Question: What is the average value for Top-5, when the value Cuts is 5, and when the tournament is the Open Championship, and when the value Events is less than 6?
SQL: SELECT AVG("top_5") FROM "summary" WHERE "cuts_made"=5 AND "tournament"='the open championship' AND "events"<6;

Question: What is the lowest value for Events, when the value for Top-5 is greater than 1?
SQL: SELECT MIN("events") FROM "summary" WHERE "top_5">1;