Which Readings Belong in This Rolling Total?

Choose ROWS, peer groups and time ranges deliberately so rolling calculations include the observations the question actually describes.

13 sections · 4 questions · 1 coding challenge

1 / 13

An Ordered Group Still Needed a Boundary

BOTIE

Adding an order to an analytical calculation makes questions such as “so far” possible, but it leaves another choice: how many neighbouring rows should contribute? Window frames make that boundary part of the query. Default frame rules can include all peers sharing the current ordering value.

That explains our apparent jump. If timestamp alone defines peers, both records at that timestamp can enter a cumulative frame together. A physical-row frame and a complete ordering express a different, equally deliberate calculation.

Sources for this history