News for hackers. Stuff that matters.
Re:Medium-hard SQL interview questions by thom on Sunday May 03, 2020 @06:19AM (#23058098)
I use it all the time, both in ad hoc queries and in data prep for models. Most commonly just to look into a future window from the current event (i.e. did this pass in a game of soccer lead to a shot etc). It's quite rare that I'll specifically care about X rows preceding or following but it does happen that you care about a shorter period than the entire window. Entirely possible people are using graph databases for that sort of thing, but the window syntax is nice.

There are no comments on this comment yet.