Which SQL query is faster? Filter on Join criteria or Where clause?

前端 未结 9 984
伪装坚强ぢ
伪装坚强ぢ 2020-11-27 03:36

Compare these 2 queries. Is it faster to put the filter on the join criteria or in the WHERE clause. I have always felt that it is faster on the join criteria b

9条回答
  •  一生所求
    2020-11-27 03:59

    Is it faster? Try it and see.

    Which is easier to read? The first to me looks more "correct", as the moved condition is nothing really to do with the join.

提交回复
热议问题