A gaming platform needs a quarterly revenue ranking for its game portfolio. Write a SQL query to find the five games with the highest completed transaction revenue in the previous calendar quarter, using a fixed reporting date of July 15, 2026.
game_id, game_name, and total_revenue.total_revenue descending, then game_id ascending for ties, and return only five rows.| Column | Type | Description |
|---|---|---|
| game_idPK | INT | Unique identifier for the game |
| game_name | VARCHAR(100) | Display name of the game |
| Column | Type | Description |
|---|---|---|
| transaction_idPK | INT | Unique transaction identifier |
| game_id | INT | Game associated with the transaction |
| transaction_date | DATE | Date the transaction was recorded |
| amount | NUMERIC(12,2) | Revenue amount in the reporting currency |
| status | VARCHAR(20) | Transaction processing status |