CREATE TABLE table_name_24 (set_3 VARCHAR, total VARCHAR)

What is the score of set 3 when the total is 45 31?
SELECT set_3 FROM table_name_24 WHERE total = "45–31"
SELECT "set_3" FROM "table_name_24" WHERE "45–31" = "total"