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

后端 未结 8 2252
臣服心动
臣服心动 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:01

    I think there is no such thing as portable SQL in the year 2009 anyway... At some point, you need to write DBMS-specific statements (like retrieving top N rows).

    I personally find the JOIN syntax redundant and instead I comma-separate table names.

提交回复
热议问题