Delete all but one duplicate record

后端 未结 5 1747
猫巷女王i
猫巷女王i 2020-12-04 18:23

I have a table that is supposed to keep a trace of visitors to a given profile (user id to user id pair). It turns out my SQL query was a bit off and is producing multiple p

5条回答
  •  盖世英雄少女心
    2020-12-04 18:47

    If you are using SQL you can manually delete the duplicate rows keeping one entry just follow this procedure:

    1. Go into your table where you have duplicate data.
    2. Apply the filter to segregate duplicate data for each individual id
    3. Select all the rows you want to delete.
    4. Press delete and save the result.
    5. Repeat the process for each id you have duplicate entries for.

    It's a long procedure but you can see the results immediately in real-time.

    Hope this solution worked for you!!

提交回复
热议问题