I am a beginner in SQL so I don't know how to approach this problem. It's Northwind related, done with Oracle. I have a table of employees, and each employee has another employee's ID as a Manager (i.e the person the employee reports to):
I need to flip it around so that instead of an employee having a manager, the manager should have a list of subordinates in a single cell.
How should I approach this? I have no idea...