The University of Colorado's research administration team needs an annual view of awarded grant funding by department. Write a PostgreSQL query that calculates year-over-year funding growth for each department and award year.
award_status = 'Awarded'.NULL for growth when no prior-year total exists or the prior-year total is zero. Round percentage growth to two decimal places.| Column | Type | Description |
|---|---|---|
| department_idPK | INT | Unique department identifier |
| department_name | VARCHAR(100) | University department name |
| Column | Type | Description |
|---|---|---|
| grant_idPK | INT | Unique grant award identifier |
| department_id | INT | Department receiving the award |
| award_date | DATE | Date the grant was awarded |
| amount | NUMERIC(12,2) | Awarded funding amount |
| award_status | VARCHAR(20) | Current award status |