Quantcast
Channel: Sql And Me » ranking function
Browsing latest articles
Browse All 2 View Live

Image may be NSFW.
Clik here to view.

SQL Functions – NTILE()

NTILE() distributes the result set into specified number of ordered partitions. For each row in result set NTILE() will returns a group number to which the row is associated. This is very useful while...

View Article



Image may be NSFW.
Clik here to view.

SQL Functions – ROW_NUMBER()

ROW_NUMBER() can be used to generate a sequential number for each row in the result set. Unlike RANK() and DENSE_RANK(), ROW_NUMBER() in case of ties it does not generate same number, it simply ignores...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images