Retrieve Five Lowest Paid Employees Records

Find the bottom 5 lowest-paid employees in the company.

sql

SELECT id, name, salary FROM employees ORDER BY salary ASC LIMIT 5;

This query selects the "id", "name", and "salary" columns from the "employees" table, sorts the results by "salary" in ascending order, and restricts the output to the first 5 records.

PromptDB can make mistakes. Please double-check responses.