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
解决方案 »
- 海量数据库及分区3
- 关于oracle中database link(数据库链接)的问题~~~~~
- 请问用pl/sql导出ORACLE数据库生成EXCEL文件,末尾多了个特殊字符如何去掉
- oracle 存储过程编译成功,但执行错误,求教原因。
- oracle 存储过程执行问题
- 一个表被lock, 如何unlock
- 超级菜鸟问题:请问各位师兄,什么叫表空间?
- 如何只选择表的第N行或N-M行?谢谢!
- oracle中,查询语句中有没有统计记录条数的函数?
- 如何是用job完成每有1日对表A纪录清零
- 各位高手请帮个忙吧!(我装了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(+);