Why are joins denoted left, right, inner, outer (1 Viewer)

AJR

Registered User.
Local time
Tomorrow, 00:04
Joined
Dec 22, 2012
Messages
59
Hi

Can't seem to find an explanation for why joins are denoted as left/right or Inner/Outer. If I know why it would probably help me remember which is which.

Thanks

AJR
 

John Big Booty

AWF VIP
Local time
Tomorrow, 02:04
Joined
Aug 29, 2005
Messages
8,263
This article seems to have a pretty good explanation of the various joins. This article has a handy table to show you how the various joins operate and where to use them.
 

AJR

Registered User.
Local time
Tomorrow, 00:04
Joined
Dec 22, 2012
Messages
59
Thanks for the links. I'm on my way over now

AJR
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 12:04
Joined
Feb 19, 2002
Messages
43,305
It's a visual thing. Look at a Venn diagram that shows two overlapping circles. the place where the circles intersect is "inner", the left circle is what you get with a left join and the right circle is what you get with a right join.

http://en.wikipedia.org/wiki/Venn_diagram
 

Users who are viewing this thread

Top Bottom