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

Question: What is the total number of averages with an interview of 8.75 when the evening gown number was bigger than 8.75?
SQL: SELECT SUM("average") FROM "preliminary_competition" WHERE "interview"=8.75 AND "evening_gown">8.75;

Question: What is the total number of interviews where the evening gown number is less than 8.82, the state is Kentucky, and the average is more than 8.85?
SQL: SELECT SUM("interview") FROM "preliminary_competition" WHERE "evening_gown"<8.82 AND "state"='kentucky' AND "average">8.85;

Question: How many averages had a swimsuit number of 8.42 and an evening gown number that was less than 8.71?
SQL: SELECT SUM("average") FROM "preliminary_competition" WHERE "swimsuit"=8.42 AND "evening_gown"<8.71;

Question: Which state had an average of less than 8.67, a swimsuit score of 8.27, an evening gown score of 8.78, and an interview number of 8.52?
SQL: SELECT "state" FROM "preliminary_competition" WHERE "average"<8.67 AND "swimsuit"=8.27 AND "evening_gown"=8.78 AND "interview"=8.52;