TASK #206 · HardThe raise list is missing people
Your brief
In every department, employees on the two lowest pay levels get a raise. A pay
level is a salary amount: people who earn the same are on the same level.
The support department (id 4) complained: Roman Fedorov is entitled to the raise but is not on the list.
Output name (employee name), department_id (department id) and salary (their salary).
The support department (id 4) complained: Roman Fedorov is entitled to the raise but is not on the list.
Output name (employee name), department_id (department id) and salary (their salary).
Ctrl / ⌘ + ↵
Result
Write a query and run it to see the results.
Schema
departmentsid, nameemployeesid, name, department_id, manager_id, salary, hired_atcustomersid, name, registered_atordersid, customer_id, employee_id, amount, created_atloginsuser_id, logged_at