Секція 1. Розділ 10
single
Challenge: Manager-Employee Relationships
Свайпніть щоб показати меню
Завдання
Swipe to start coding
Write a query using a self-join to list each employee's name alongside their manager's name.
- Select the employee's name from the
employeestable. - Give it an alias
employee_name. - Use a self-join on the
employeestable to match each employee to their manager bymanager_id. - Select the manager's name from the joined table.
- Give it an alias
manager_name. - Include all employees, even those who do not have a manager.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 10
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат