By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
5 rows affected
| MANAGER | MANGER_NAME | EMPLOYEE_COUNT | EMPLOYEE | EMPLOYEE_NAME |
|---|---|---|---|---|
| EM2 | john | 2 | EM4 | das |
| EM2 | john | 2 | EM3 | ravi |
| EM3 | ravi | 2 | EM5 | michael |
| EM3 | ravi | 2 | EM1 | ana |
| null | null | 1 | EM2 | john |