Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Zip joins are only meaningful when talking about ordered sets. Instead of joining based on the value of a column, you are joining based on the row number.</p> <p>Table1</p> <pre><code>[λ] [color] 400 violet 415 indigo 475 blue 510 green 570 yellow 590 orange 650 red </code></pre> <p>Table2</p> <pre><code>[flame] [element] green boron yellow sodium white magnesium red calcium blue indium </code></pre> <p><strong>Table1 INNER JOIN Table2 ON [color] = [flame]</strong> : only matching rows</p> <pre><code>[λ] [color] [flame] [element] 475 blue blue indium 510 green green boron 570 yellow yellow sodium 650 red red calcium </code></pre> <p><strong>Table1 OUTER JOIN Table2 ON [color] = [flame]</strong> : all rows, matched where possible</p> <pre><code>[λ] [color] [flame] [element] 400 violet NULL NULL 415 indigo NULL NULL 475 blue blue indium 510 green green boron 570 yellow yellow sodium 590 orange NULL NULL 650 red red calcium NULL NULL white magnesium </code></pre> <p><strong>Table1 "zip joined" to Table2</strong> : all rows, regardless of match</p> <pre><code>[λ] [color] [flame] [element] 400 violet green boron 415 indigo yellow sodium 475 blue white magnesium 510 green red calcium 570 yellow blue indium 590 orange NULL NULL 650 red NULL NULL </code></pre> <p>Zip joins are combining the data like a zipper, pairing the first row from one table with the first row from the other, second paired with second, etc. It's not actually looking at that data. They can be generated very quickly, but they won't mean anything unless there is some meaningful order already present in your data or if you just want to generate random pairings</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload