1. 首页
  2. 云计算
  3. 平台管理
  4. 解析Oracle查询和删除JOB的SQL

解析Oracle查询和删除JOB的SQL

上传者: 2020-12-17 07:11:13上传 PDF文件 31.35KB 热度 16次
查询及删除重复记录的SQL语句1、查找表中多余的重复记录,重复记录是根据单个字段(peopleId)来判断select * from peoplewhere peopleId in (select peopleId from people group by peopleId having count(peopleId) > 1)2、删除表中多余的重复记录,重复记录是根据单个字段(peopleId)来判断,只留有rowid最小的记录delete from people where peopleId in (select peopleId from people group by
用户评论