Raymond James Financial Services needs to review transaction activity for a specific advisor account. Write a PostgreSQL query that returns the second-highest distinct posted financial transaction amount for account RJ-1042.
advisor_accounts to financial_transactions using the account identifier.RJ-1042 with a POSTED status and a non-NULL amount.| Column | Type | Description |
|---|---|---|
| account_idPK | INT | Internal advisor account identifier |
| account_number | VARCHAR(20) | Raymond James advisor account number |
| advisor_name | VARCHAR(100) | Advisor assigned to the account |
| Column | Type | Description |
|---|---|---|
| transaction_idPK | INT | Unique transaction identifier |
| account_id | INT | Advisor account associated with the transaction |
| transaction_type | VARCHAR(30) | Type of financial transaction |
| amount | NUMERIC(12,2) | Transaction amount |
| status | VARCHAR(20) | Transaction processing status |
| currency | VARCHAR(3) | ISO currency code |