Możesz samodzielnie dołączyć do id
kolumna w manager
kolumna:
SELECT e.name AS name, m.name AS manager
FROM employee e
LEFT JOIN employee m ON m.id = e.manager
Możesz samodzielnie dołączyć do id
kolumna w manager
kolumna:
SELECT e.name AS name, m.name AS manager
FROM employee e
LEFT JOIN employee m ON m.id = e.manager