How to delete duplicates on a MySQL table?

后端 未结 25 2756
遇见更好的自我
遇见更好的自我 2020-11-22 01:35

I need to DELETE duplicated rows for specified sid on a MySQL table.

How can I do this with an SQL query?

         


        
25条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-22 02:06

    There are just a few basic steps when removing duplicate data from your table:

    • Back up your table!
    • Find the duplicate rows
    • Remove the duplicate rows

    Here is the full tutorial: https://blog.teamsql.io/deleting-duplicate-data-3541485b3473

提交回复
热议问题