3 ms·
There is not a day that goes by that I don't write at least one query with a windowing function. Features like that are extremely useful. For me, it's usually R
by Amezarak 12y ago
There is not a day that goes by that I don't write at least one query with a windowing function. Features like that are extremely useful. For me, it's usually ROW_NUMBER(), but LAG() and LEAD() have been enormously helpful too.
IME, it's easy to express the direct utility of features like this - you get row numbers, okay, so what? - and hard to express the huge indirect utility - using them as building blocks in complex (but efficient) queries.