The task was say I have 4000 (Or n) Customer IDs in cutomer table, and I need to assign them to 4 persons to have each of them taking care of 1000 (or N/4) customer IDs, I tried partition, but it gives me the result so wrong with 5: in each record.
SELECT CUSTOMER_ID, Partition (CUSTOMER_ID, 1, 4, (SELECT ROUND(Sum(B.C)/4,0) AS
Employee_ID FROM (SELECT CUSTOMER_ID, Count(CUSTOMER_ID) AS C FROM CUSTOMER GROUP BY
CUSTOMER_NAME) AS B)/4)
FROM CUSTOMER
GROUP BY CUSTOMER_ID;