Tell me about a time you were given a data storage scenario and had to write a SQL query to produce a specific output.
For this exercise, use the supplied users and transactions tables. Write a query that returns users with at least two successful transactions.
user_name, successful_transaction_count, and successful_transaction_amountSUCCESSuser_id ascending for ties| Column | Type | Description |
|---|---|---|
| user_idPK | INT | Unique user identifier |
| user_name | VARCHAR(100) | User display name |
| Column | Type | Description |
|---|---|---|
| transaction_idPK | INT | Unique transaction identifier |
| user_id | INT | User associated with the transaction |
| status | VARCHAR(20) | Transaction processing status |
| amount | NUMERIC(12,2) | Transaction amount |