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

后端 未结 8 2286
臣服心动
臣服心动 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条回答
  •  借酒劲吻你
    2021-02-13 23:02

    It is simply a matter of taste, I guess that people use it because they find that it leads to more readable code. For example, I prefer to use the also optional AS keyword since SELECT ... FROM table AS t looks more readable than SELECT ... FROM table t for me.

提交回复
热议问题