解决方案 »
- 我远程连一个oracle数据库 想把那个数据库里面的Peopleinfo表里面的name字段下的数据 弄到我的数据库里面的 People 表 里面的XM字段下面
- 死锁!!!!!!!!!!!!!!!!!!!!!1
- 监听程序当前无法识别连接描述符中所给出的sid,services进程只有一个
- 求个方法 关于两个集合的
- 如何去掉字符串中的回车
- 如何卸载ORACLE9I
- 关于存储过程和其调用的问题,简单,高手举手之劳,谢谢
- 请问-查询以“00”开头的VarChar2型记录语句怎么写?
- 导入数据问题
- 敬请高手(分不多的话,再加)
- [体系架构]这样的系统,数据库如何设计存储方案和优化存储?
- 分区索引失效&这样的索引是否应该存在 在线等!
from (
select rowid,ID
from xxx
where ID is not null
group by ID) temp1,
(
select rowid,A_QTY
from xxx
where A_QTY is not null
group by A_QTY ) temp2,
(
select rowid,B_ID
from xxx
where B_ID is not null
group by B_ID ) temp3,
(
select rowid,B_QTY
from xxx
where B_QTY is not null
group by B_QTY ) temp4,
(
select rowid,C_ID
from xxx
where C_ID is not null
group by C_ID ) temp5,
(
select rowid,C_QTY
from xxx
where C_QTY is not null
group by C_QTY ) temp6
where temp5.rowid=temp1.rowid(+) and
temp5.rowid=temp2.rowid(+) and
temp5.rowid=temp3.rowid(+) and
temp5.rowid=temp4.rowid(+) and
temp5.rowid=temp5.rowid(+)
好久没用oracle了,ROWID可能是rownumber,总之就是生成行号那个,记不清楚了,你自己试一下吧