Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### Context:
CREATE TABLE table_name_3 (opponent VARCHAR, record VARCHAR)
### Question:
What is the Opponent when the Record is 34–31–6?
### Answer:
SELECT opponent FROM table_name_3 WHERE record = "34–31–6"