Je zou zelf lid kunnen worden van de id
kolom op de manager
kolom:
SELECT e.name AS name, m.name AS manager
FROM employee e
LEFT JOIN employee m ON m.id = e.manager
Je zou zelf lid kunnen worden van de id
kolom op de manager
kolom:
SELECT e.name AS name, m.name AS manager
FROM employee e
LEFT JOIN employee m ON m.id = e.manager