CREATE TABLE "final_competition_scores" (
  "state" text,
  "preliminary" real,
  "interview" real,
  "swimsuit" real,
  "evening_gown" real,
  "average" real
);

Question: What is the smallest preliminary when swimsuit is less than 8.822, interview is more than 8.744 and gown is more than 9.333?
SQL: SELECT MIN("preliminary") FROM "final_competition_scores" WHERE "swimsuit"<8.822 AND "interview">8.744 AND "evening_gown">9.333;

Question: What is the best preliminary for a contestant from New Mexico with interview less than 9.533?
SQL: SELECT MAX("preliminary") FROM "final_competition_scores" WHERE "state"='new mexico' AND "interview"<9.533;

Question: What state has a swimsuit less than 9.277, gown more than 8.944 and preliminary greater than 8.483?
SQL: SELECT "state" FROM "final_competition_scores" WHERE "swimsuit"<9.277 AND "evening_gown">8.944 AND "preliminary"<8.483;

Question: What is the average when interview is 9.465 and evening gown is less than 9.454?
SQL: SELECT SUM("average") FROM "final_competition_scores" WHERE "interview"=9.465 AND "evening_gown"<9.454;

Question: What is the best preliminary score from a contestant from Oklahoma with evening gown less than 8.853?
SQL: SELECT MAX("preliminary") FROM "final_competition_scores" WHERE "state"='oklahoma' AND "evening_gown"<8.853;