The NTILE function divides the ordered partition into a specified number of bucket groups and assigns a bucket number to each row in the partition.
The NTILE function divides the ordered partition into a specified number of bucket groups and assigns a bucket number to each row in the partition.