News for hackers. Stuff that matters.
Re:Medium-hard SQL interview questions by radiowave on Sunday May 03, 2020 @06:11AM (#23058071)
Good point. I often find the easiest approach is to join against a sequence to 'unsparsify' the data, then use the window function. I'd guess this is likely still faster than a self-join, unless the data is very sparse.

There are no comments on this comment yet.