News for hackers. Stuff that matters.
Re:Medium-hard SQL interview questions by etiennebch on Sunday May 03, 2020 @05:13AM (#23057860)
I use them for cursor based pagination. You can use rank and a where clause to apply the limit. You can also compute max rank to determine whether there are more data to fetch after limit. Finally, if you do left joins where you may have multiple rows per objet, you use dense rank instead of rank

There are no comments on this comment yet.