medium
Write a SQL Query
Generate a SQL query based on a description.
📝 प्रॉम्ट सामग्री
Write a SQL query for a table named 'employees' with columns 'id', 'name', 'department', and 'salary'. The query should find the names of all employees in the 'Sales' department who earn more than 50000.