Hello
I have a set of data and what I want to do is identify within this data repeat cases with the same address and name details but different ID'S
I have so far managed to identify the cases where the same address and name details appear but not able to identify the ID. I want to now attach the ID to these records, can someone give me some guidance on this.
So far I have used (simplified):
SELECT COUNT(*) FORENAME,SURNAME,ADD1, ADD2
FROM CUSTOMER
GROUP BY FORENAME,SURNAME,ADD1, ADD2
HAVING COUNT(*) > 1
The above returns the duplicate cases. I now want to know the ID's for all these cases.
I have a set of data and what I want to do is identify within this data repeat cases with the same address and name details but different ID'S
I have so far managed to identify the cases where the same address and name details appear but not able to identify the ID. I want to now attach the ID to these records, can someone give me some guidance on this.
So far I have used (simplified):
SELECT COUNT(*) FORENAME,SURNAME,ADD1, ADD2
FROM CUSTOMER
GROUP BY FORENAME,SURNAME,ADD1, ADD2
HAVING COUNT(*) > 1
The above returns the duplicate cases. I now want to know the ID's for all these cases.