Answers for "deleting duplicate records in mysql with a query"

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 "deleting duplicate records in mysql with a query"

Code answers related to "SQL"

Browse Popular Code Answers by Language