Keep each person's most recent signup (webinar)
For every email keep only the row with the latest Signed date, whatever the row order.
- Level
- advanced
- Time
- ~10 min
- Task
- Build the query
- Access
- Pro
Checking your access…
About this exercise
What you'll practise
Select the latest record per key deterministically, without relying on row order.
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), Source (text), Signed (date)