I have an employee table which contains a manager ID as a column. If I need to get the manager of manager of a certain employee, how would I do it efficiently? How about if we are required to a 5 layers deep?
If this a requirement can we change the database schema so that this could be done more efficienty?
Read this article to see how you can define your own version of Oracle’s
connect bycustomization.