>_
duplicate_emails.sql
SQLite 3.53
Not run yet

+ 5 hidden

Input
contact
contact_id  full_name       email
1           Rosa Lind       [email protected]
2           Marek Hall      [email protected]
3           Rosa Lind       [email protected]
4           Ingrid Stoll    [email protected]
5           Marek Hallberg  [email protected]
6           Tess Okoro      [email protected]
Expected
[{"email": "[email protected]"}, {"email": "[email protected]"}]

[email protected] and [email protected] are each on two contacts. The other two addresses appear once and are not returned.