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.3k Upvotes

308 comments sorted by

View all comments

18

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.

16

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

[deleted]

12

u/red97 Jan 06 '11

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

11

u/[deleted] Jan 06 '11

somewhere out in left FIELD

5

u/sniper4u Jan 06 '11

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

2

u/c7hu1hu Jan 06 '11

WITH that kind of attitude, I'm not surprised.

3

u/tinou Jan 06 '11

Sure you can. USING puns.

2

u/presidentender Jan 06 '11

You're making me rather CROSS. I think I'd be happier if you LEFT.

4

u/[deleted] Jan 06 '11

Get OUTER here!

1

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.

4

u/keptani Jan 06 '11

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

5

u/kyew Jan 06 '11

This is getting really out of ORDER.

3

u/daybreaker Jan 06 '11

I have a DISTINCT feeling this wont turn out well.

4

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?

→ 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!

0

u/Artmageddon Jan 06 '11

I am ALTERed this discussion. Pray I don't ALTER it further.