I am a novice, and was doing some research on JOINS in SQL. I was directed to this excellent thread (Difference between INNER and OUTER joins), but it does lead me to a question regarding some other research I'd been doing with joins.
My initial understanding was that Left Outer Join returns all the data from the left table, plus includes all the shared-set (the middle of the Venn, overlap, crossover, pick a term), and a Right Outer Join includes all the data from the righthand table, plus includes all the shared-set...
...but I just read a blog (found the link http://www.khankennels.com/blog/index.php/archives/2007/04/20/getting-joins/ recommended by CodingHorror, http://blog.codinghorror.com/a-visual-explanation-of-sql-joins/) which says:
"A left outer join combines the ideas behind a left join and an outer join. Basically – if you use a left outer join you will get the records in the left table that DO NOT have a match in the right table."
....and now I'm all kinds of confused. I have little/no doubt of the braininess of the people who wrote the articles, but I myself am left all derpy about it. Does the Left/Right Outer Join actually include the shared data? Or does it include only the data that does NOT have a match? Why is this seemingly simple concept so confusing? Do aliens exist? Who shot JFK? Mommy?!
*A note here, the author of the aforementioned blog does include the disclaimer that she is not an all-knowing guru...so maybe she's wrong? Or I'm just not understanding...