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

Question: What is the country of Craig Stadler?
SQL: SELECT "country" FROM "missed_the_cut" WHERE "player"='craig stadler';

Question: What is the average total of Gay Brewer from the United States with a to par of 9?
SQL: SELECT AVG("total") FROM "missed_the_cut" WHERE "country"='united states' AND "to_par"=9 AND "player"='gay brewer';