CREATE TABLE table_name_51 (years VARCHAR, goals VARCHAR)

What years had players who scored 36 goals?
SELECT years FROM table_name_51 WHERE goals = "36"
SELECT "years" FROM "table_name_51" WHERE "36" = "goals"