select a.rq , a.money1 , nvl(b.money2,0)
from a,b
where a.rq = b.rq(+)
Union
select b.rq , nvl(a.money1,0) , b.money2
from a,b
where a.rq(+) = b.rq
from a,b
where a.rq = b.rq(+)
Union
select b.rq , nvl(a.money1,0) , b.money2
from a,b
where a.rq(+) = b.rq
解决方案 »
- 请大家看看我下面的RMAN代码有什么问题
- 求助,如何在存储过程里面连续判断多个DB_LINK的有效性
- 数据库出现java.sql.SQLException: ORA-04031: 无法分配 4096 字节的共享内存 ("large pool","unknown object","sort subheap","sort key")
- SQL语句求解,急
- 如何设计这个方案?
- 求高效SQL语句!!!!!!!!!!!!!!!
- WE8DEC字符集下,web式程序中文无法正常显示,请问怎么解决!
- oracle客户端安装网络配置怎么都配都不行啊
- 请求帮助,Oracle数据库生成.trc文件
- Oracle10g客户端如何连接Oracle8i数据库?
- 各位高手请帮个忙吧!(我装了4便了,每次都是看不到manager server)
- 我用oracle database assistant创建了一个数据库实例,可是删不掉???
(select rq from A union select rq from B) c
where c.rq=a.rq(+) and c.rq = b.rq(+);
(select rq from A union select rq from B) c
where c.rq=a.rq(+) and c.rq = b.rq(+);