All reports under a manager
In the org chart emp, each employee names a manager in manager_id. Find everyone who reports — directly or through a chain of managers — to the employee with id = 2. Return id ascending.
Vzorec pričakovanega izhoda
Tako izgleda pravilen odgovor — ima svoje število vrstic in se ni treba ujemati s tabelami sheme.
| id |
|---|
| 4 |
| 5 |
| 6 |
Prijavite se za ogled zgodovine oddaj
PrijavaPrijavite se za uporabo mentorja UI
Prijava