Do you use the OUTER keyword when writing left/right JOINs in SQL?

后端 未结 8 2258
臣服心动
臣服心动 2021-02-13 22:25

I often see people who write SQL like this:

SELECT * from TableA LEFT OUTER JOIN TableB ON (ID1=I2)

I myself write simply:

SELE         


        
8条回答
  •  -上瘾入骨i
    2021-02-13 23:06

    I'm using 'inner join', 'left join', 'right join', and 'full outer join'. 'join' without 'inner' makes it somewhat ambigious to me; 'left' and 'right' are self-descriptive and 'full' is such kind of a beast that it deserves special syntax :)

提交回复
热议问题