Why isn't SQL ANSI-92 standard better adopted over ANSI-89?

后端 未结 16 1932
日久生厌
日久生厌 2020-11-22 10:59

At every company I have worked at, I have found that people are still writing their SQL queries in the ANSI-89 standard:

select a.id, b.id, b.address_1
from          


        
16条回答
  •  春和景丽
    2020-11-22 11:21

    In response to the NATURAL JOIN and USING post above.

    WHY would you ever see the need to use these - they weren't available in ANSI-89 and were added for ANSI-92 as what I can only see as a shortcut.

    I would never leave a join to chance and would always specify the table/alias and id.

    For me, the only way to go is ANSI-92. It is more verbose and the syntax isn't liked by ANSI-89 followers but it neatly separates your JOINS from your FILTERING.

提交回复
热议问题