Is a JOIN faster than a WHERE?

前端 未结 10 1055
渐次进展
渐次进展 2020-11-29 05:44

Suppose I have two tables that are linked (one has a foreign key to the other):

CREATE TABLE Document (
  Id INT PRIMARY KEY,
  Name VARCHAR 255
)

CREATE TAB         


        
10条回答
  •  被撕碎了的回忆
    2020-11-29 06:20

    It is a "standard" to use the INNER JOIN syntax, although practically equivalent. The main reason it should be used is for clarity and mobility purposes as it is consistent with OUTER JOIN syntax.

提交回复
热议问题