from fi_cont_main m
,fi_contract c,
bd_cubasdoc jf
,bd_cubasdoc yf,
fi_type_para ty
,BD_CURRTYPE ct
,fi_type_para lm
,fi_ratechange_d rcd
,fi_rate_d rd 人家需要连接的表直接写在from后面了,然后在where中写成这样where m.pk_id = c.pk_parent
and c.jiafangunit = jf.pk_cubasdoc
and c.yifangunit = yf.pk_cubasdoc
and m.loanclass=ty.systemname
and c.currencycode = ct.pk_currtype
and m.loanmode = lm.systemname
and c.ratecode = rcd.pk_parent(+)
and rcd.pk_id = rd.pk_parent(+)
尤其是rd.pk_parent(+) (+)什么意思啊,他这种写法和我用left join right join连有什么区别吗
,fi_contract c,
bd_cubasdoc jf
,bd_cubasdoc yf,
fi_type_para ty
,BD_CURRTYPE ct
,fi_type_para lm
,fi_ratechange_d rcd
,fi_rate_d rd 人家需要连接的表直接写在from后面了,然后在where中写成这样where m.pk_id = c.pk_parent
and c.jiafangunit = jf.pk_cubasdoc
and c.yifangunit = yf.pk_cubasdoc
and m.loanclass=ty.systemname
and c.currencycode = ct.pk_currtype
and m.loanmode = lm.systemname
and c.ratecode = rcd.pk_parent(+)
and rcd.pk_id = rd.pk_parent(+)
尤其是rd.pk_parent(+) (+)什么意思啊,他这种写法和我用left join right join连有什么区别吗
解决方案 »
- 数据库优化指的是什么东东?
- 关于存储过程中游标的问题
- oracle 动态执行的sql语句中, insert into 中用多个union all 连接出来的语句效率高, 还是把union all分成多个insert into 效率高呢, 为什么?
- 怎么把一个表中的一个字段转换成MD5加密形式的, 要求考虑异常
- 如何只更改表中一列的属性
- 新手问oracle问题!能帮忙的帮帮我!!!
- 很简单的问题
- proc编译问题?请赐教!在线等待!
- 如何将一个有上亿条数据的表,以文本的形式将数据导出来
- DBlink不使用的原因和关闭方法
- 这种SQL连接方式很怪异没见过啊,谁能帮我解释下吗
- 求 oracle 10g 资料
是同一个意思。