Describe your experience using Python to automate data cleaning or processing tasks.
For this practical SQL exercise, demonstrate the same type of cleaning and processing logic with PostgreSQL. Standardize valid email addresses, retain the newest record for each email, map recognized statuses, and attach source system names when available.
normalized_email, full_name, status_label, source_name, and updated_at.normalized_email ascending, with updated_at descending as a tie-breaker.| Column | Type | Description |
|---|---|---|
| idPK | INT | Unique raw application record identifier |
| raw_email | VARCHAR(255) | Applicant email as received from an input source |
| raw_name | VARCHAR(150) | Applicant name as received from an input source |
| raw_status | VARCHAR(30) | Unstandardized application status |
| source_system_id | INT | Optional reference to the originating source system |
| updated_at | TIMESTAMP | Timestamp when this application record was updated |
| Column | Type | Description |
|---|---|---|
| source_system_idPK | INT | Unique source system identifier |
| source_name | VARCHAR(80) | Readable source system name |