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_54 (opponent VARCHAR, result VARCHAR, type VARCHAR)
### Question:
Who did Tony Oakey win against when he had type of w pts 12?
### Answer:
SELECT opponent FROM table_name_54 WHERE result = "win" AND type = "w pts 12"