Write a query to calculate the month-over-month growth rate of active service professionals in a specific region.
Use the professionals and professional_monthly_status tables. Calculate results for the Chicago region, with growth compared to the prior month.
month_start, active_professionals, and growth_rate_pctNULL growth rate because no prior month existsmonth_start ascending| Column | Type | Description |
|---|---|---|
| professional_idPK | INT | Unique service professional identifier |
| professional_name | VARCHAR(100) | Service professional's name |
| region | VARCHAR(100) | Professional's operating region |
| Column | Type | Description |
|---|---|---|
| status_idPK | INT | Unique monthly status record identifier |
| professional_id | INT | Referenced service professional |
| month_start | DATE | First day of the status month |
| is_active | BOOLEAN | Whether the professional was active during the month |