RienSQL
TASK #105 · Medium · Sberbank

Employees without a manager in the department

Your brief
Display a list the names of employees who do not have a designated manager working in the same department.
Expected columnsnameSberbank
SQL editor
SQLite
Ctrl / ⌘ + ↵
Result

Write a query and run it to see the results.

Schema
Departmentid, name
Employeeid, department_id, chief_id, name, salary