Comments on: Real World SQL Join Examples https://thomaslarock.com/2012/04/real-world-sql-join-examples/ Thomas LaRock is an author, speaker, data expert, and SQLRockstar. He helps people connect, learn, and share. Along the way he solves data problems, too. Mon, 18 Apr 2022 20:31:19 +0000 hourly 1 https://wordpress.org/?v=6.7.2 By: Matthew Ingmire https://thomaslarock.com/2012/04/real-world-sql-join-examples/#comment-88996 Mon, 18 Apr 2022 20:31:19 +0000 http://thomaslarock.com/?p=8480#comment-88996 In reply to datachick.

Thanks for the suggestion about set theory.

]]>
By: ThomasLaRock https://thomaslarock.com/2012/04/real-world-sql-join-examples/#comment-12702 Sun, 29 Mar 2015 13:37:00 +0000 http://thomaslarock.com/?p=8480#comment-12702 In reply to Vin Man.

Thanks for the follow-up comment, and I agree that a different visualization would be helpful here. I’m now thinking about a way where we could use layers in order to better picture the join syntax.

]]>
By: Vin Man https://thomaslarock.com/2012/04/real-world-sql-join-examples/#comment-12698 Sat, 28 Mar 2015 23:15:00 +0000 http://thomaslarock.com/?p=8480#comment-12698 In reply to ThomasLaRock.

I know how actual tables are represented in computers. The reason I
pointed is when I was looking closely at those Ven diagrams for the
first col second fig or last col 2 fig the last line states where A.key
= null . But I could not figure that from the ven diagram. I switched
to a “tabular” diagram and it popped. Thanks for taking the effort to
explain it in the first place. sorry but I did not mean to be
commenting negatively.

]]>
By: datachick https://thomaslarock.com/2012/04/real-world-sql-join-examples/#comment-12695 Thu, 26 Mar 2015 15:28:00 +0000 http://thomaslarock.com/?p=8480#comment-12695 In reply to ThomasLaRock.

But yeah, math class is hard.

]]>
By: datachick https://thomaslarock.com/2012/04/real-world-sql-join-examples/#comment-12694 Thu, 26 Mar 2015 15:25:00 +0000 http://thomaslarock.com/?p=8480#comment-12694 In reply to ThomasLaRock.

Tables are not square – they are actually data. One common visualization of them uses boxes with square corners, others use boxes with rounded corners, and others use circles. “Circles and lines”, the lingo of some trolls originates from these earlier data models of tables and relationships.

]]>
By: datachick https://thomaslarock.com/2012/04/real-world-sql-join-examples/#comment-12693 Thu, 26 Mar 2015 15:23:00 +0000 http://thomaslarock.com/?p=8480#comment-12693 In reply to Vin Man.

LMGTFY https://www.google.ca/search?q=set+theory

]]>
By: ThomasLaRock https://thomaslarock.com/2012/04/real-world-sql-join-examples/#comment-12690 Thu, 26 Mar 2015 15:12:00 +0000 http://thomaslarock.com/?p=8480#comment-12690 In reply to Vin Man.

Well, “actual tables” are a logical representation of data that resides on a physical disk, and the concept of a table itself is meant only for humans to comprehend. A computer doesn’t say “this is a table, and it’s a square”. It’s just bits on a page on a disk.

I guess I’m used to standard Venn diagrams where circles represent sets. And a circle works just as well as anything. Feel free to redraw the diagrams using squares, I’d be interested in seeing lots of different shapes used. After many years of mathematics I’ve never thought about using anything but circles to represent sets.

Thanks for the comment.

]]>