Keep one signup per email address (newsletter)
Build a mailing list with one row per email address from signups that contain repeats.
- Level
- beginner
- Time
- ~6 min
- Task
- Build the query
- Access
- Pro
Checking your access…
About this exercise
What you'll practise
Remove duplicates on the columns that matter, not the whole row, without depending on which repeat survives.
The scenario, sample data, step list, hints and solution open with Pro. Grading checks your query against hidden data as well as the visible sample, so a query that only fits the sample doesn't pass.
Input
- Signups (table)
- Email: text
- Name: text
- Source: text
- Signed: text
Expected output columns
Email (text), Name (text)