SQL: Duplicate Emails

Medium
SQL — Aggregation SQL GROUP BY HAVING
Find all duplicate email addresses.

Constraints

Write standard SQL (MySQL 8.0 compatible).

Examples

Example 1:
Example 2:

Hints

GROUP BY email HAVING COUNT > 1.
▲ Console

Install Talent Arabia

Get instant access to jobs and career tools on your device.