I have a customer number that can have multiple account numbers. The probably is that I only want 5 of them on each customer number.
Below is a query I ran to get customer numbers > 5.
Cust_no, CustCount
16188,112
205612,63
12417,49
Now I need to delete anything >= 5 on each customer number.
So it would end up like:
Cust_no,CustCount
16188,5
205612,5
12417,5
I just want to read the first 5 records and delete the rest!!!
Any suggestions would be greatly appreciated.
Thanks,
DDBROOK
Below is a query I ran to get customer numbers > 5.
Cust_no, CustCount
16188,112
205612,63
12417,49
Now I need to delete anything >= 5 on each customer number.
So it would end up like:
Cust_no,CustCount
16188,5
205612,5
12417,5
I just want to read the first 5 records and delete the rest!!!
Any suggestions would be greatly appreciated.
Thanks,
DDBROOK