Write a query to find the top three medical procedures by claim volume for each region, handling ties appropriately.
Use the provided regions, procedures, and claims tables. Include only claims linked to a known region and procedure.
region_name, procedure_name, claim_volume, and volume_rank.| Column | Type | Description |
|---|---|---|
| region_idPK | INT | Unique regional identifier |
| region_name | VARCHAR(100) | Name of the geographic region |
| Column | Type | Description |
|---|---|---|
| procedure_idPK | INT | Unique medical procedure identifier |
| procedure_name | VARCHAR(150) | Medical procedure name |
| Column | Type | Description |
|---|---|---|
| claim_idPK | INT | Unique claim identifier |
| region_id | INT | Referenced region for the claim |
| procedure_id | INT | Referenced procedure for the claim |