Your question is SQL Duplicate Values After Transformation. Start with the requirements and the one table on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Apex Systems QA engineers are validating imported contact records. Some email addresses differ only by capitalization or accidental surrounding spaces, which can create duplicate accounts in an internal QA data set.
Write a PostgreSQL query to identify duplicate email values after applying the transformation LOWER(TRIM(external_email)).
| Column | Type | Description |
|---|---|---|
| import_idPK | INT | Unique imported record identifier |
| external_email | VARCHAR(255) | Email value received from an external source |