List top 5 highest-paid employees.
Asked in the technical stage. This was a live SQL round using an Employees/Departments schema, with screen sharing and query output pasted into chat.
rank_position, employee_name, salary, and department_name.employee_id.| Column | Type | Description |
|---|---|---|
| employee_idPK | INT | Unique employee identifier |
| employee_name | VARCHAR(100) | Employee full name |
| salary | NUMERIC(12,2) | Annual employee salary |
| department_id | INT | Referenced department identifier |
| Column | Type | Description |
|---|---|---|
| department_idPK | INT | Unique department identifier |
| department_name | VARCHAR(100) | Department name |