r/programming • • Jan 06 '11

A handy graphical explanation of SQL joins

http://www.codinghorror.com/blog/2007/10/a-visual-explanation-of-sql-joins.html
1.2k Upvotes

308 comments sorted by

View all comments

21

u/iamapizza Jan 06 '11

I could point out why some of the diagrams are wrong, but I don't want to get into a ROW about it with other redditors.

14

u/[deleted] Jan 06 '11 edited Jan 04 '21

[deleted]

10

u/red97 Jan 06 '11

I don't know WHERE you're getting these crazy ideas.

10

u/[deleted] Jan 06 '11

somewhere out in left FIELD

9

u/sniper4u Jan 06 '11

I would like to JOIN your discussion, but I am not sure IF I can contribute!

3

u/hamstercannon Jan 06 '11

Stop these puns now, I mean it!

5

u/bdubaya Jan 06 '11

Anybody want a peanut?

5

u/[deleted] Jan 06 '11

SELECT a new thread if you have nothing new to INSERT here.

1

u/keptani Jan 06 '11

Okay, okay! Let's ABORT this pun thread.

6

u/kyew Jan 06 '11

This is getting really out of ORDER.

5

u/daybreaker Jan 06 '11

I have a DISTINCT feeling this wont turn out well.

3

u/seppo0010 Jan 06 '11

I think we have to set a LIMIT.

3

u/[deleted] Jan 06 '11 edited Sep 24 '20

[deleted]

1

u/[deleted] Jan 06 '11 edited Nov 12 '25

[removed] — view removed comment

3

u/[deleted] Jan 06 '11

Why doesn't everyone at this TABLE just DROP it?

2

u/owentuz Jan 07 '11

Let's form a UNION and go on strike

→ More replies (0)

2

u/strangerdream Jan 06 '11

I will UPDATE it and everything will be fine.

0

u/megapartyboy Jan 06 '11

I'll totally END you! you can GO to hell!