Du kan själv gå med i id
kolumnen i manager
kolumn:
SELECT e.name AS name, m.name AS manager
FROM employee e
LEFT JOIN employee m ON m.id = e.manager
Du kan själv gå med i id
kolumnen i manager
kolumn:
SELECT e.name AS name, m.name AS manager
FROM employee e
LEFT JOIN employee m ON m.id = e.manager