Write a SQL query to find the top three most active providers in each state based on completed sessions for Spring Health.
Use the provided providers and sessions tables. Include providers with no completed sessions when their state has fewer than three providers.
state, provider_id, provider_name, completed_sessions, and provider_rank.| Column | Type | Description |
|---|---|---|
| provider_idPK | INT | Unique provider identifier |
| provider_name | VARCHAR(100) | Provider display name |
| state | VARCHAR(2) | Two-letter state code where the provider practices |
| Column | Type | Description |
|---|---|---|
| session_idPK | INT | Unique session identifier |
| provider_id | INT | Provider associated with the session |
| status | VARCHAR(20) | Session status |
| session_date | DATE | Date of the session |