Skip to main content

Lowest Earning Employees

EasyPremium

Given the schema shown below, write a solution to fetch the 3 lowest-earning employees, including their IDs, names and salaries.

employees +---------------+---------+ | id | int | | first_name | varchar | | last_name | varchar | | salary | int | | department_id | int | +---------------+---------+

Your query should output a result in the following format:

id | first_name | last_name | salary ----+------------+-----------+-------- int | varchar | varchar | int