去除emp表中相同的行:
SCOTT@LGR> delete from emp a where rowid not in (select max(rowid) from emp b where a.empno=b.empno);
去除emp表中相同的行:
SCOTT@LGR> delete from emp a where rowid not in (select max(rowid) from emp b where a.empno=b.empno);

被折叠的 条评论
为什么被折叠?