Euronet Worldwide needs to identify duplicate customer profiles in its customer master table before downstream payment and transfer workflows use the wrong record. Write a SQL query to find all duplicated profiles based on the same first name, last name, and date of birth.
duplicate_count showing how many rows share that profile.duplicate_count descending, then by name.| Column | Type | Description |
|---|---|---|
| customer_idPK | INT | Primary key for the profile record |
| first_name | VARCHAR(100) | Customer first name |
| last_name | VARCHAR(100) | Customer last name |
| date_of_birth | DATE | Customer date of birth |
| VARCHAR(255) | Contact email, may be NULL | |
| created_at | TIMESTAMP | Record creation timestamp |