medium
SQL Query Builder
Generate a SQL query based on a description.
📝 Contenido del prompt
Write a SQL query for a table named 'employees' with columns (id, name, department, salary). The query should find the names of employees in the 'Sales' department who earn more than 50000.