What techniques would you use for data cleaning, and how do INNER JOIN and LEFT JOIN differ?
For the SQL portion, clean the supplied customer and order records, retain customers without valid orders, and explain why the selected join preserves them.
customer_id, customer_name, cleaned_email, valid_order_count, and valid_order_total.customer_id ascending.| Column | Type | Description |
|---|---|---|
| customer_idPK | INT | Unique customer identifier |
| customer_name | VARCHAR(100) | Customer name, potentially containing extra whitespace |
| VARCHAR(255) | Customer email address, potentially inconsistent or blank |
| Column | Type | Description |
|---|---|---|
| order_idPK | INT | Unique order identifier |
| customer_id | INT | Customer associated with the order |
| amount | DECIMAL(10,2) | Order amount |
| status | VARCHAR(30) | Raw order status |