Skip to content
Theory · Window functions · lesson 2 of 12

PARTITION BY

In the previous lesson there was one window over the whole table. But comparing a croissant with the most expensive coffee is odd: food is fairer to compare with food, and tea with tea.

In this lesson

  • Dividers in the window
  • Partition and group
  • Common mistake
  • Key points