Tell me about your experience using Excel (PivotTables, IF/AND/OR formulas, and VLOOKUPs) and SQL (joins, primary vs. foreign keys, and core clauses like SELECT, FROM, WHERE, GROUP BY, ORDER BY, and CASE WHEN).
For the SQL portion, use the provided department and employee tables to produce a department-level summary. Identify the primary and foreign key relationship and account for departments without employees.
department_name, employee_count, high_earner_count, average_salary, and salary_profile.No employees, High, or Standard.| Column | Type | Description |
|---|---|---|
| department_idPK | INT | Unique department identifier |
| department_name | VARCHAR(100) | Department name |
| is_active | BOOLEAN | Whether the department is active |
| Column | Type | Description |
|---|---|---|
| employee_idPK | INT | Unique employee identifier |
| employee_name | VARCHAR(100) | Employee name |
| department_id | INT | Employee department identifier |
| salary | NUMERIC(10,2) | Annual salary |
| employment_status | VARCHAR(30) | Employee employment status |