Answers for "how to exclude duplicates mysql"

SQL
2

how to delete all duplicate items in mysql

DELETE FROM FriendsData WHERE fID 
       NOT IN ( SELECT fID FROM FriendsData 
                   GROUP BY UserID, FriendsUserID, IsSpecial, CreatedBy)
Posted by: Guest on April-17-2020

Code answers related to "how to exclude duplicates mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language