How would you handle missing values or outliers in a large-scale transaction dataset?
For this SQL exercise, identify transaction records with missing values or unusually large or small amounts relative to other transactions from the same store. Use the supplied data and return only records requiring review.
transaction_id, store_name, amount, and issue_typetransaction_id ascending| Column | Type | Description |
|---|---|---|
| transaction_idPK | INT | Unique transaction identifier |
| store_id | INT | Store associated with the transaction |
| customer_id | INT | Customer associated with the transaction |
| amount | DECIMAL(12,2) | Transaction amount |
| Column | Type | Description |
|---|---|---|
| store_idPK | INT | Unique store identifier |
| store_name | VARCHAR(100) | Store display name |