查询和删除表中重复数据sql语句
摘要:
1、查询表中重复数据。select * from peoplewhere peopleId in (select peopleId from people group by peopleId having count(peopleId) > 1)2、删除表中多余的重复记录,重复记录是根据单个字段(p 阅读全文
posted @ 2016-08-31 22:01 肥宅兜 阅读(17060) 评论(0) 推荐(0) 编辑