CREATE TABLE table_name_77 (swimsuit INT, average VARCHAR, evening_gown VARCHAR, state VARCHAR)

What is the sum of the swimsuit scores from Missouri that have evening gown scores less than 8.77 and average scores less than 8.823?
SELECT SUM(swimsuit) FROM table_name_77 WHERE evening_gown < 8.77 AND state = "missouri" AND average < 8.823
SELECT SUM("swimsuit") FROM "table_name_77" WHERE "average" < 8.823 AND "evening_gown" < 8.77 AND "missouri" = "state"