Find the top 3 salaries without returning duplicate salary values.
sqlCopySELECT DISTINCT salary FROM employees ORDER BY salary DESC LIMIT 3;
sql
SELECT DISTINCT salary FROM employees ORDER BY salary DESC LIMIT 3;
This query selects unique salary values from the "employees" table, sorts them in descending order, and restricts the output to the top three records.
PromptDB can make mistakes. Please double-check responses.