delete from emply a
where a.rowid > ( select min(b.rowid) from emply b where a.id = b.id )
where a.rowid > ( select min(b.rowid) from emply b where a.id = b.id )
解决方案 »
- oracle归档日志
- oracle 用户角色问题
- EXP 命令 导出时如何,控制几张表
- sequence的下一个值可以根据表中的其他值来定吗?
- oracle 9i R2 可以对数据库做整体加密吗?
- aix 下用G++编译ORACLE9I下的OCI程序。(AIX 5。3)安装ORACLE过程没出一点错误。
- 在IMP时怎么样以SYSDBA来登录
- oracle 数据挖掘
- ORACLE树型结构问题
- oracle常见错误问题!
- 用批处理文件如何调用oracle中的procedure?
- 怎样用SQL语句查出一个约束的具体内容,比如:我想查unique constraint (MOBILE.SYS_C0042292)的具体内容。
emply a
where
a.rowid <> (select min(rowid) from emply where id = a.id and name = a.name and sex = a.sex)
where a.rowid not in ( select min(b.rowid) from emply b where a.id = b.id )
where id not in
(select max(id)
from Sun_Test
group by name)