Your question is Find Duplicates With SQL. 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.
Nagarro's customer onboarding platform receives customer records from multiple intake sources. Data quality checks must identify email addresses that appear more than once so they can be reviewed before downstream processing.
Write a PostgreSQL query to find duplicate non-null email addresses in the customer_onboarding table.
email and return only email values appearing at least twice.created_at value for that email.| Column | Type | Description |
|---|---|---|
| record_idPK | INT | Unique onboarding record identifier |
| VARCHAR(255) | Customer email address | |
| full_name | VARCHAR(100) | Customer's full name |
| source_system | VARCHAR(50) | System that submitted the record |
| created_at | DATE | Date the onboarding record was created |