I have to process a file that can contain the cust id more than one time. I will need the record with the highest status value. What's the best approach here.
What's the best way to do this...Code or query?
In the example, I would want the GHI with the status = 1.
Cust ID Status
ABC 2
DEF X
GHI 1
GHI 2
NJO 1
MNK X
KNL 2
What's the best way to do this...Code or query?
In the example, I would want the GHI with the status = 1.
Cust ID Status
ABC 2
DEF X
GHI 1
GHI 2
NJO 1
MNK X
KNL 2