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

Question: Name the total number of swimsuits when evening gown is 8.329 and average is less than 8.497
SQL: SELECT COUNT("swimsuit") FROM "preliminary_competition" WHERE "evening_gown"=8.329 AND "average"<8.497;

Question: Name the sum of swimsuit when the evening gown is less than 6.983 and the average is less than 7.362
SQL: SELECT SUM("swimsuit") FROM "preliminary_competition" WHERE "average"<7.362 AND "evening_gown"<6.983;

Question: Name the most interview for minnesota and average more than 7.901
SQL: SELECT MAX("interview") FROM "preliminary_competition" WHERE "state"='minnesota' AND "average">7.901;