Employees whose salary is above the average.
Asked in the technical stage as a live SQL round using an Employees/Departments schema. The candidate was expected to screen share, run the query, and paste the output in chat.
employee_id, employee_name, department, and salary.salary descending, then employee_id ascending.| Column | Type | Description |
|---|---|---|
| employee_idPK | INT | Unique employee identifier |
| employee_name | VARCHAR(100) | Employee's full name |
| department | VARCHAR(100) | Employee's department name |
| salary | DECIMAL(10,2) | Annual employee salary |