CREATE TABLE table_name_3 (opponent VARCHAR(255), record VARCHAR(255))
What is the Opponent when the Record is 34–31–6?
    
SQL: SELECT opponent FROM table_name_3 WHERE record = "34–31–6"