Table schema:
CREATE TABLE table_name_3 (opponent VARCHAR, record VARCHAR)

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