{
  "id": "bbg-p0151-database-foundations-database-foundations-concept",
  "title": "SQL Join Types",
  "chapter": "database-foundations",
  "batch": "28",
  "rank": 276,
  "sourcePage": 151,
  "sourcePointer": "p. 151",
  "status": "accepted",
  "reviewerStatus": "reviewed",
  "fidelityScore": 0.9,
  "canvas": {
    "width": 960,
    "height": 640
  },
  "fireworksTechGraph": {
    "style": "style-1-flat-icon",
    "diagramType": "comparison",
    "topologyNotes": [
      "source page render inspected",
      "extracted page text inspected",
      "source page render and extracted text inspected",
      "preserve the four join cases: inner, left, right, and full outer joins",
      "rewrite Venn/table art into neutral join semantics"
    ],
    "publicBoundary": [
      "original vector output",
      "no source pixels",
      "no source mark or long wording"
    ]
  },
  "callouts": [],
  "sourceReview": {
    "conceptAnchors": [
      "concept: inner join matching rows",
      "concept: left join preserves left table",
      "concept: right join preserves right table",
      "concept: full outer join preserves both sides"
    ],
    "labelSource": "curated",
    "semanticStatus": "reviewed"
  },
  "groups": [
    {
      "id": "innerG",
      "label": "Inner join",
      "x": 64,
      "y": 128,
      "w": 388,
      "h": 148
    },
    {
      "id": "leftG",
      "label": "Left join",
      "x": 508,
      "y": 128,
      "w": 388,
      "h": 148
    },
    {
      "id": "rightG",
      "label": "Right join",
      "x": 64,
      "y": 338,
      "w": 388,
      "h": 148
    },
    {
      "id": "fullG",
      "label": "Full outer join",
      "x": 508,
      "y": 338,
      "w": 388,
      "h": 148
    }
  ],
  "shapes": [
    {
      "id": "inner",
      "kind": "table",
      "label": "A and B",
      "detail": "matches only",
      "x": 188,
      "y": 170,
      "w": 134,
      "h": 72,
      "tone": "green"
    },
    {
      "id": "left",
      "kind": "table",
      "label": "All A",
      "detail": "plus matches",
      "x": 632,
      "y": 170,
      "w": 134,
      "h": 72,
      "tone": "blue"
    },
    {
      "id": "right",
      "kind": "table",
      "label": "All B",
      "detail": "plus matches",
      "x": 188,
      "y": 380,
      "w": 134,
      "h": 72,
      "tone": "orange"
    },
    {
      "id": "full",
      "kind": "table",
      "label": "All rows",
      "detail": "A union B",
      "x": 632,
      "y": 380,
      "w": 134,
      "h": 72,
      "tone": "purple"
    }
  ],
  "connectors": [
    {
      "from": "inner",
      "to": "left",
      "label": "preserve left",
      "flow": "main"
    },
    {
      "from": "inner",
      "to": "right",
      "label": "preserve right",
      "flow": "main"
    },
    {
      "from": "left",
      "to": "full",
      "label": "add right",
      "flow": "data"
    },
    {
      "from": "right",
      "to": "full",
      "label": "add left",
      "flow": "data"
    }
  ]
}
