Re:Having, a less understood SQL clause
by mike256 on Saturday August 06, 2022 @01:37PM
(#32370017)
RANK is a good example of a useful less known window function. Please also consider dense_rank and row_number. All 3 have their advantages and disadvantages... (Rank leaves holes after rows with the same order, dense_rank gives consecutive numbers, row_number just numbers the rows.)
[ Parent
| on HN ]
There are no comments on this comment yet.