Answers for "mysql remove duplicates but keep first"

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 "mysql remove duplicates but keep first"

Code answers related to "SQL"

Browse Popular Code Answers by Language