Condition within JOIN or WHERE

后端 未结 9 1693
无人共我
无人共我 2020-11-22 10:16

Is there any difference (performance, best-practice, etc...) between putting a condition in the JOIN clause vs. the WHERE clause?

For example...

-- C         


        
9条回答
  •  太阳男子
    2020-11-22 10:54

    I prefer the JOIN to join full tables/Views and then use the WHERE To introduce the predicate of the resulting set.

    It feels syntactically cleaner.

提交回复
热议问题