A tax analytics team needs a monthly report of transaction activity by jurisdiction. Write a SQL query to identify the top three jurisdictions by transaction volume for each month in the previous completed fiscal year, where the fiscal year begins on July 1.
month_start, jurisdiction_name, transaction_volume, and monthly_rank.month_start, then monthly_rank, then jurisdiction_name.| Column | Type | Description |
|---|---|---|
| transaction_idPK | INT | Unique transaction identifier |
| jurisdiction_id | INT | Tax jurisdiction associated with the transaction |
| transaction_date | DATE | Date on which the transaction occurred |
| Column | Type | Description |
|---|---|---|
| jurisdiction_idPK | INT | Unique tax jurisdiction identifier |
| jurisdiction_name | VARCHAR(100) | Name of the tax jurisdiction |