Write a self-join SQL query.
Using the employees table, return each unique unordered pair of employees who share the same non-null manager. Do not return an employee paired with themselves or repeat the same pair in reverse order.
manager_id, employee_1_id, employee_1_name, employee_2_id, employee_2_namemanager_id, employee_1_id, then employee_2_id ascending| Column | Type | Description |
|---|---|---|
| employee_idPK | INT | Unique employee identifier |
| employee_name | VARCHAR(100) | Employee name |
| manager_id | INT | Identifier of the employee's manager |
| department | VARCHAR(80) | Employee department |