Inner join vs Where

后端 未结 19 1306
庸人自扰
庸人自扰 2020-11-22 05:20

Is there a difference in performance (in oracle) between

Select * from Table1 T1 
Inner Join Table2 T2 On T1.ID = T2.ID

And



        
19条回答
  •  梦如初夏
    2020-11-22 06:01

    Don’t forget that in Oracle, provided the join key attributes are named the same in both tables, you can also write this as:

    select *
    from Table1 inner join Table2 using (ID);
    

    This also has the same query plan, of course.

提交回复
热议问题