intermediate
Generate a SQL Query
Writes a SQL query based on a data description.
📝 Contenu du Prompt
Write a SQL query for a table named 'Employees' with columns 'id', 'name', 'department', and 'salary'. Select the names of employees who work in the 'Sales' department and earn more than 50,000. Order the results by salary in descending order.