Hello, I have the name of the friendsData strong> table , which contains duplicate entries as shown below
fID UserID FriendsID IsSpecial CreatedBy
-----------------------------------------------------------------
1 10 11 FALSE 1
2 11 5 FALSE 1
3 10 11 FALSE 1
4 5 25 FALSE 1
5 10 11 FALSE 1
6 12 11 FALSE 1
7 11 5 FALSE 1
8 10 11 FALSE 1
9 12 11 FALSE 1
I want to delete rows of duplicate combinations using MS SQL?
Delete the latest duplicate entries from the MS SQL FriendsData table. here I have attached an image that highlights duplicate column combinations.

How can I remove all duplicate combinations from an SQL table?
source
share