Lesson 5.6 · Pro

Self join: a table joined to itself

Compare rows in the same table, like employees with their managers or pairs of users.

In this lesson

  1. Join a table to itself
  2. Compare a row with its partner
  3. Find pairs in the same table