Covera Health wants to monitor provider utilization across regions using patient visit data. Write a PostgreSQL query that identifies the highest-volume providers for each region and calendar month.
providers to patient_visits using provider_id.status = 'completed' and a non-null patient_id.provider_id.| Column | Type | Description |
|---|---|---|
| provider_idPK | INTEGER | Unique provider identifier |
| provider_name | VARCHAR(100) | Provider display name |
| region | VARCHAR(50) | Covera Health service region |
| Column | Type | Description |
|---|---|---|
| visit_idPK | INTEGER | Unique visit identifier |
| provider_id | INTEGER | Provider associated with the visit |
| patient_id | INTEGER | Patient associated with the visit |
| visit_date | DATE | Date on which the visit occurred |
| status | VARCHAR(20) | Visit completion status |