I have a sql column nvarchar(200) which has the following values
xxx {"Name":"Stack"} yyy
aaa {"Name":"Overflow"} bbb
ccc {"Name":Stack"} ddd
eee {"Name":"Overflow"} fff
I want to remove the first duplicate row where the Name is the same i.e in the example above I would want to remove the 3 and 4 row because it contains a duplicate name but I want to keep the first row and the second row.
How can I achieve this?
"Name":"Stack"and"Name":Stack"with the typo as being the same?