Write a SQL query to retrieve all employees from a table named 'employees' who have a salary greater than 50,000.

SELECT * FROM employees WHERE salary > 50000;