Skip to content
Theory · JOIN · lesson 7 of 12

Row multiplication

You have already seen Bauman Street repeat three times in the join with employees: the shop has three pairs, and its row went into the result three times. In a list this is harmless. But if you then compute count or sum over such a result, the repeats go into the total, and the number comes out bigger than the real one.

In this lesson

  • A key with several pairs
  • How count gets inflated
  • Common mistake
  • Key points