Select Three Distinct Employee Salary Values

Find the first 3 distinct salary values.

sql

SELECT DISTINCT salary FROM employees ORDER BY salary ASC LIMIT 3;

This query selects the three lowest unique salary values from the "employees" table by sorting the distinct results in ascending order and limiting the output to the first three rows.

PromptDB can make mistakes. Please double-check responses.