Oracle中 (+)与left join 的用法区别
来源:互联网 发布:单片机中断程序编写 编辑:程序博客网 时间:2024/06/18 18:33
select * from a,b where a.id=b.id(+);
(+)写在where后面,不能与or/in连用,
b表是附属表
---------------------------------------------------------------------------
select * from a left join b on a.id=b.id;
左连接 写在 from 与where之间
a left join b on a.id=b.id 主表 left join 附表 on 连接条件
---------------------------------------------------------------------------
效率上没区别
left join 可读性高、功能更全面、通用性强、而且是新标准
建议使用left join
详细查看
http://blog.chinaunix.net/uid-21187846-id-3288525.html
- 顶
- 0
- 踩
阅读全文
0 0
- Oracle中 (+)与left join 的用法区别
- Oracle中 (+)与left join 的用法区别
- oracle中left join和right join的区别
- oracle中left join和right join的区别
- oracle中left join和right join的区别
- oracle中left join和right join的区别
- sql中left join与rignt join的区别
- Oracle的left join中on和where的区别以及与(+)的区别
- SQL中Left Join 与Right Join 与 Inner Join 与 Full Join的区别
- SQL中Left Join 与Right Join 与 Inner Join 与 Full Join的区别
- SQL中Left Join 与Right Join 与 Inner Join 与 Full Join的区别
- SQL中Left Join 与Right Join 与 Inner Join 与 Full Join的区别
- SQL中Left Join 与Right Join 与 Inner Join 与 Full Join的区别
- SQL中Left Join 与Right Join 与 Inner Join 与 Full Join的区别
- SQL中Left Join 与Right Join 与 Inner Join 与 Full Join的区别
- SQL中Left Join 与Right Join 与 Inner Join 与 Full Join的区别
- SQL中Left Join 与Right Join 与 Inner Join 与 Full Join的区别
- oracle中left join中on和where的区别
- 四大排序分析与总结
- Android的pull解析XML文件
- 小心使用typedef带来的陷阱
- 深入学习Java之ArrayList
- 数据库日期格式转换函数
- Oracle中 (+)与left join 的用法区别
- Android解析XML(PULL)与Android解析Json
- 了解JAVA
- FFmpeg的初学习常见问题
- html+CSS 进阶
- 剑指Offer:数组中出现次数超过一半的数字
- 阿里巴巴2017实习生笔试(一)
- Prototype功能预览五:一个注解简化任意IO操作
- SSRS地图图例嵌入自定义图像显示解决