Dayforce workforce reporting needs to identify employees whose annual salary is above the company-wide average. Write a PostgreSQL query that returns these employees with their department information.
employees.annual_salary.LEFT JOIN.employee_id as a tie-breaker.| Column | Type | Description |
|---|---|---|
| employee_idPK | INT | Unique employee identifier |
| employee_name | VARCHAR(100) | Employee's full name |
| department_id | INT | References the employee's department |
| annual_salary | NUMERIC(10,2) | Employee's annual salary |
| Column | Type | Description |
|---|---|---|
| department_idPK | INT | Unique department identifier |
| department_name | VARCHAR(100) | Department name |