I have two tables Employee and Department this image shows the manager of every employee. I want to write a SQL query that gives me a list of all the supervisor (Mana
I think you can use "hierarchical queries" for Oracle and try this:
select manager_id supervisor from employee start with employee_id = 202 connect by nocycle employee_id = prior manager_id;