码迷,mamicode.com
首页 > 数据库 > 详细

What does a (+) sign mean in an Oracle SQL WHERE clause?

时间:2018-01-02 16:56:04      阅读:210      评论:0      收藏:0      [点我收藏+]

标签:int   body   rom   tty   rac   span   code   column   outer   

This is an Oracle-specific notation for an outer join. It means that it will include all rows from t1, and use NULLS in the t0 columns if there is no corresponding row in t0.

In standard SQL one would write:

SELECT t0.foo, t1.bar
  FROM FIRST_TABLE t0
 RIGHT OUTER JOIN SECOND_TABLE t1;

What does a (+) sign mean in an Oracle SQL WHERE clause?

标签:int   body   rom   tty   rac   span   code   column   outer   

原文地址:https://www.cnblogs.com/kakaisgood/p/8177368.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!