Answers for "how to avoid duplicate records in mysql select 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 "how to avoid duplicate records in mysql select query"

Code answers related to "SQL"

Browse Popular Code Answers by Language