发布网友 发布时间:2022-04-08 09:02
共4个回答
热心网友 时间:2022-04-08 10:31
oracle select * from 表名 where rowid in(select distinct rowid, count(1) over(partition by 可能存在重复值的字段) from 表名 where count(1) over(partition by 可能存在重复值的字段) > 1)热心网友 时间:2022-04-08 11:49
select热心网友 时间:2022-04-08 13:24
select A from table where a in(select A from table group by A having count(*)>1) or a in (select a from table a,table b where a.a =b.b )热心网友 时间:2022-04-08 15:15
delete from 表 where A in (select B from 表)