Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Manager-Employee Relationships | Advanced Join Techniques and Multi-Table Queries
SQL Joins in Depth

bookChallenge: 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 employees table.
  • Use a self-join on the employees table to match each employee to their manager by manager_id.
  • Select the manager's name from the joined table.
  • Include all employees, even those who do not have a manager.

Рішення

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 4
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

close

bookChallenge: 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 employees table.
  • Use a self-join on the employees table to match each employee to their manager by manager_id.
  • Select the manager's name from the joined table.
  • Include all employees, even those who do not have a manager.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 4
single

single

some-alt