Given two tables of claims and providers, write a SQL query to find providers with the highest average claim amount by specialty at Garner health.
Use non-null specialties and claim amounts, and include every provider tied for the highest average within a specialty.
specialty, provider_id, provider_name, average_claim_amount, and specialty_rank.specialty ascending, then provider_id ascending.| Column | Type | Description |
|---|---|---|
| provider_idPK | INT | Unique identifier for the provider |
| provider_name | VARCHAR(100) | Provider's display name |
| specialty | VARCHAR(80) | Provider specialty |
| Column | Type | Description |
|---|---|---|
| claim_idPK | INT | Unique identifier for the claim |
| provider_id | INT | Provider associated with the claim |
| claim_amount | NUMERIC(10,2) | Billed claim amount |