Provide a SQL query to find duplicates in a database table.
Assume a row is a duplicate when its email value appears more than once; NULL email values are not considered duplicates. Return every table row belonging to a duplicated email value.
user_id, email, full_name, created_at, and duplicate_countemail ascending, then user_id ascending| Column | Type | Description |
|---|---|---|
| user_idPK | INT | Unique user identifier |
| VARCHAR(255) | User email address | |
| full_name | VARCHAR(150) | User's full name |
| created_at | TIMESTAMPTZ | Timestamp when the user record was created |