CREATE TABLE "missed_the_cut" (
  "player" text,
  "country" text,
  "year_won" real,
  "total" real,
  "to_par" real
);

Question: What is the average year Rich Beem had a to par less than 17?
SQL: SELECT AVG("year_won") FROM "missed_the_cut" WHERE "player"='rich beem' AND "to_par"<17;

Question: What is the earliest year won with a total bigger than 156?
SQL: SELECT MIN("year_won") FROM "missed_the_cut" WHERE "total">156;

Question: What is the total for Bob Tway for the year won before 2002 with a to par bigger than 7?
SQL: SELECT COUNT("total") FROM "missed_the_cut" WHERE "year_won"<2002 AND "player"='bob tway' AND "to_par">7;

Question: What is the to par for Paul Azinger from the United States after 1986 for a total bigger than 145?
SQL: SELECT COUNT("to_par") FROM "missed_the_cut" WHERE "country"='united states' AND "year_won">1986 AND "player"='paul azinger' AND "total">145;

Question: What is the earliest year won Paul Azinger had with a to par higher than 5?
SQL: SELECT MIN("year_won") FROM "missed_the_cut" WHERE "player"='paul azinger' AND "to_par">5;

Question: What is the year won by Australia with a to par bigger than 16?
SQL: SELECT COUNT("year_won") FROM "missed_the_cut" WHERE "country"='australia' AND "to_par">16;