This explains SQL JOINs which include INNER JOIN, LEFT OUTER JOIN, RIGHT OUTER JOIN and FULL OUTER JOIN.

    • calabast@lemm.ee
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      11 months ago

      The author does a good job explaining how join diagrams are more accurate than venn diagrams, but by saying that venn diagrams are bad and wrong, I feel like they completely miss the point. The venn diagrams can be understood almost instantly, whereas the join diagrams take time and thought to take in.

      If someone was brand new to sql joins, sure maybe I would say a join diagram is better for them, so they can really understand what is happening. But for someone who just wants a refresher on join types they rarely use, I think the venn diagrams win. I guess ultimately I don’t like the claim that one type of diagram is simply “better”.

    • livingcoder@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      11 months ago

      When I see a RIGHT JOIN I just shake my head and wonder “Why?”. That said, I can’t remember the last time I saw one.