### Instruction: Who is the all time leading goal scorer in the NHL?
### Response: The all time leading goal scorer in the NHL is Wayne Gretzky with 894 goals., Gretzky played in the NHL for 21 seasons, spending most of his time with the Edmonton Oilers and the Los Angeles Kings, but he also played for the New York Rangers and briefly, for the St Louis Blues.