NTILE Issue [message #585372] |
Fri, 24 May 2013 07:25 |
fakru.y
Messages: 34 Registered: May 2007
|
Member |
|
|
Hi,
I'm trying to assign buckets 1 to 8 to month_id values stored in one of my table using NTILE function. for the same month_id it is assigning two buckets ex for 201211 bucket value is assigning as 1 and 2 both. i do not understand why is this? Please explain.
my requirement is i do have week_id (106 weeks)/month_id (72 months) where i need to assign buckets 1 to 8, when i do this as i said above for the same week/month it is assigning two buckets.
|
|
|
|
|
|