Useful little reminder...


Useful little reminder...

Originally shared by Philip Durbin

http://www.codeproject.com/Articles/33052/Visual-Representation-of-SQL-Joins

Comments

  1. Excellent, thanks for sharing. For me as someone who is not dealing with DBs on a daily basis, such a reminder is very helpful.

    ReplyDelete
  2. The graphics to the upper left and the upper right are a bit misleading. They look like "select * from A" (left resp. "select * from B" (right). I have no real idea how to illustrate it better, though.
     Anyway, it's really helpful.

    ReplyDelete
  3. The linked article helps explain the diagram nicely and provides examples of each query type.

    ReplyDelete
  4. Cross join, no...but I can handle a really angry join and a mildly irritated join if that will help.

    ReplyDelete
  5. Thanks :) I think G+ might allow circling friends circles in circles like join circles at some point in future.

    ReplyDelete
  6. Ilya S Good catch...this is the second time I've seen this today. I'm guessing Google is seeding the community so we won't all go ballistic when the new option becomes available.

    ReplyDelete
  7. I'd like to see a similar diagram done for three table joins.

    ReplyDelete
  8. Anthony Frazier  A Venn diagram done with SQL code. You, sir, are a masochist.  Or, possibly a sadist, since that is now going to haunt my weekend. Thank you so much

    ReplyDelete
  9. Doug Johnson It was partially in jest, because I know that the series of diagrams would be nightmarish, but I am genuinely curious how they'd visualize.

    ReplyDelete
  10. Anthony Frazier A Mandelbrot set comes to mind...then my brain melts

    ReplyDelete
  11. LOL. :-D That's why I'm leaving it up to someone else to think hard about it. I've got enough brain melters on my plate.

    ReplyDelete
  12. I was very excited to distinguish these joins :D

    ReplyDelete

Post a Comment