Write a SQL query to retrieve the top 10 users with the highest transaction amounts.
Use the provided users and transactions tables. Interpret transaction amount at the user level as the sum of all transaction amounts for each user. Exclude users without transactions.
user_id, username, and total_transaction_amountuser_id ascending to break ties| Column | Type | Description |
|---|---|---|
| user_idPK | INT | Unique identifier for a user |
| username | VARCHAR(100) | User display name |
| Column | Type | Description |
|---|---|---|
| transaction_idPK | INT | Unique identifier for a transaction |
| user_id | INT | User associated with the transaction |
| transaction_amount | NUMERIC(12,2) | Amount recorded for the transaction |