Condition within JOIN or WHERE

后端 未结 9 1772
无人共我
无人共我 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:59

    It is better to add the condition in the Join. Performance is more important than readability. For large datasets, it matters.

提交回复
热议问题