MySQL数据库行去重复

1.创立数据表

2.插入数据信息(其他的插入省略。。。)

3.查看信息,可以看出 10 <= id <= 17,都是重复数据。

4.查看属性“name”重复的数据信息

5.创建新的数据表用于存放id,同时修改了表名。

6.查看新表数据信息

7.删除重复的数据信息

posted @ 2016-01-07 16:34  侠岚之弋痕夕  阅读(208)  评论(0)    收藏  举报
Where is the starting point, we don't have a choice, but the destination where we can pursue!