Difference between FULL JOIN & INNER JOIN

前端 未结 8 1083
我在风中等你
我在风中等你 2020-11-30 17:33

What is the difference between a FULL JOIN and an INNER JOIN?

When I do a FULL JOIN, I get 832 records and with an INNER

8条回答
  •  无人及你
    2020-11-30 18:07

    In a pretty simple way, the main difference is:

    INNER JOIN - Returns only matched rows. Therefore, unmatched rows are not included.

    FULL JOIN - Returns those rows that exist in the right table and not in the left, plus the rows that exist in the left table and not in the right, beyond the inner join rows.

提交回复
热议问题