Puoi unirti automaticamente a id
colonna sul manager
colonna:
SELECT e.name AS name, m.name AS manager
FROM employee e
LEFT JOIN employee m ON m.id = e.manager
Puoi unirti automaticamente a id
colonna sul manager
colonna:
SELECT e.name AS name, m.name AS manager
FROM employee e
LEFT JOIN employee m ON m.id = e.manager