CREATE TABLE table_name_3 (opponent VARCHAR2, record VARCHAR2)

What is the Opponent when the Record is 34 31 6?
SELECT opponent FROM table_name_3 WHERE record = "34–31–6"
SELECT "opponent" FROM "table_name_3" WHERE "34–31–6" = "record"