r/SQL • • May 19 '26

Discussion Eight window-function tricks beyond LAG and ROW_NUMBER

https://analytics.fixelsmith.com/posts/eight-window-function-tricks/
150 Upvotes

19 comments sorted by

View all comments

Show parent comment

4

u/aGuyNamedScrunchie May 19 '26

Ahhhh gotcha gotcha gotcha. Well TIL then!

2

u/FixelSmith May 26 '26

You're right. Should've been gaps-and-islands... plural. Celko's books pretty much cemented that name years ago. Just a typo on my side and I appreciate you commenting on it.