Order by in Inner Join

后端 未结 6 785
难免孤独
难免孤独 2021-02-18 16:28

I am putting inner join in my query.I have got the result but didn\'t know that how the data is coming in output.Can anyone tell me that how the Inner join matching the data.Bel

6条回答
  •  有刺的猬
    2021-02-18 17:15

    I found this to be an issue when joining but you might find this blog useful in understanding how Joins work in the back. How Joins Work..

    [Edited] @Shree Thank you for pointing that out. On the paragraph of Merge Join. It mentions on how joins work...

    Like hash join, merge join consists of two steps. First, both tables of the join are sorted on the join attribute. This can be done with just two passes through each table via an external merge sort. Finally, the result tuples are generated as the next ordered element is pulled from each table and the join attributes are compared

    .

提交回复
热议问题