CREATE TABLE table_23235767_1 (year VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR)

What is every year where opponent in the final is John Mcenroe at Wimbledon?
SELECT year FROM table_23235767_1 WHERE opponent_in_the_final = "John McEnroe" AND championship = "Wimbledon"
SELECT "year" FROM "table_23235767_1" WHERE "John McEnroe" = "opponent_in_the_final" AND "Wimbledon" = "championship"