NiCE uses employee hierarchy data to support administration and workforce workflows in NiCE CXone. Write a PostgreSQL query that lists every employee and, when available, the employee's direct manager.
LEFT JOIN, and sort the result alphabetically by employee name.| Column | Type | Description |
|---|---|---|
| employee_idPK | INTEGER | Unique employee identifier |
| employee_name | VARCHAR(100) | Employee's full name |
| manager_id | INTEGER | References employees.employee_id for the direct manager |
| job_title | VARCHAR(100) | Employee's job title |
| department | VARCHAR(100) | Organizational department |
| hire_date | DATE | Employee's hire date |