Difference between FULL JOIN & INNER JOIN

前端 未结 8 1016
我在风中等你
我在风中等你 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

    Inner join wouldn't bring any NULLs in the join target field. If there's no matching record, the original will not be in the table.

    0 讨论(0)
  • 2020-11-30 18:08

    A FULL OUTER JOIN is a union of the LEFT OUTER JOIN and RIGHT OUTER JOIN.

    (did that make sense?)

    Nice visual explanation describing joins (bottom left describes full outer join): http://www.codeproject.com/Articles/33052/Visual-Representation-of-SQL-Joins

    Credits go to C.L. Moffatt's blogpost on codeproject

    0 讨论(0)
提交回复
热议问题