I need to remove duplicate fields from a temp table where the fields in question are not exactly identical.
For example, I have the following data:
First Last DOB
John Johnson 10.01.02
Steve Stephens 23.03.02
John Johnson 2.02.99
Dave Davies 3.03.03
Here, there are two John Johnson's. I only want to have one John Johnson - I don't care which one. So the resulting table will look something like:
First Last DOB
John Johnson 10.01.02
Steve Stephens 23.03.02
Dave Davies 3.03.03
I'm using TSQL, but I would prefer to use SQL that is non-proprietary.
Thanks