摘要: 删除表中重复记录,只保留一条: delete from 表名 where 字段ID in (select * from (select max(字段ID) from 表名 group by 重复的字段 having count(重复的字段) > 1) as b); 查询重复数据select * fr 阅读全文
posted @ 2016-10-24 09:42 悬崖边上 阅读(188) 评论(0) 推荐(0) 编辑