DEV Community

[Comment from a deleted post]
Collapse
 
ryands17 profile image
Ryan Dsouza

The best part of ntile being I use it a lot to provide custom names to the rankings. For e.g. giving names like HIGH, AVERAGE and LOW based on the groupings done by ntile. A combination of case, ntile and sum covers a lot of use-cases.