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 ArticleSQL 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
More Pages to Explore .....