CREATE TABLE table_name_38 (evening_gown INT, interview VARCHAR, average VARCHAR, swimsuit VARCHAR)

Name the most evening gown for average less than 8.793 with interview of 8.51 and swimsuit less than 8.12
SELECT MAX(evening_gown) FROM table_name_38 WHERE average < 8.793 AND swimsuit < 8.12 AND interview = 8.51
SELECT MAX("evening_gown") FROM "table_name_38" WHERE "average" < 8.793 AND "interview" = 8.51 AND "swimsuit" < 8.12