Huron Consulting Group is reviewing hospital spending for a client engagement. Write a PostgreSQL query that analyzes 2025 expenses by hospital department and identifies each department's largest cost driver.
Unclassified.| Column | Type | Description |
|---|---|---|
| department_idPK | INT | Unique hospital department identifier |
| department_name | VARCHAR(100) | Hospital department name |
| cost_center | VARCHAR(30) | Financial cost center code |
| Column | Type | Description |
|---|---|---|
| expense_idPK | INT | Unique expense identifier |
| department_id | INT | Department associated with the expense |
| expense_category | VARCHAR(80) | Expense classification |
| expense_date | DATE | Date the expense was incurred |
| amount | NUMERIC(12,2) | Expense amount in dollars |
| vendor | VARCHAR(100) | Expense vendor |