CREATE TABLE "scores" (
  "country" text,
  "preliminaries" real,
  "interview" real,
  "swimsuit" real,
  "evening_gown" real,
  "average" real
);

Question: What is the average where the swimsuit is larger than 9.437?
SQL: SELECT MAX("average") FROM "scores" WHERE "swimsuit">9.437;

Question: What is the evening gown score where the interview score is 9.22 and the preliminaries are larger than 9.057?
SQL: SELECT SUM("evening_gown") FROM "scores" WHERE "interview"=9.22 AND "preliminaries">9.057;

Question: What is Pennsylvania's average where the swimsuit is smaller than 9.109 and the evening gown is smaller than 9.163?
SQL: SELECT AVG("average") FROM "scores" WHERE "swimsuit"<9.109 AND "country"='pennsylvania' AND "evening_gown"<9.163;

Question: What is the preliminaries score where the swimsuit is smaller than 9.297, the evening gown is 9.617, and the interview is larger than 9.143?
SQL: SELECT AVG("preliminaries") FROM "scores" WHERE "swimsuit"<9.297 AND "evening_gown"=9.617 AND "interview">9.143;