I'm trying to write a SQL query that will give me a list of duplicate persons in a database. I can not create a new table with this query.
I'm trying to find where persons have matching first name, last name and dates of birth.
The names are held in a table persons
and dates of birth are stored in personsInfo
linked with a matching id.