Implement a simple select statement and add an IN clause and filters to it.
Write a PostgreSQL query against the mortgage_accounts table. Return accounts whose status is either active or delinquent, whose state is either TX or FL, and whose escrow balance is greater than zero.
loan_id, borrower_name, state, loan_status, and escrow_balance.loan_id ascending.| Column | Type | Description |
|---|---|---|
| loan_idPK | INT | Unique mortgage loan identifier |
| borrower_name | VARCHAR(100) | Primary borrower name |
| state | VARCHAR(2) | Two-letter property state code |
| loan_status | VARCHAR(30) | Current mortgage loan status |
| escrow_balance | DECIMAL(12,2) | Current escrow account balance |