3 ms·
The discussion at https://news.ycombinator.com/item?id=17231349 https://news.ycombinator.com/item?id=17231349 has many more links and descriptions of how to use
by btilly 8y ago
The discussion at https://news.ycombinator.com/item?id=17231349 https://news.ycombinator.com/item?id=17231349 has many more links and descriptions of how to use window functions in practice. (Including my comment at the top about how in practice I find that you usually want to combine window functions with nested queries.)