Sarah,
So you main target is to get the latest_DND, Does this means that a DND goes through diffrent values? like at start it is 105 and at the current value is 4008. from this data, I assume that rec1 is representing the latest dnd, and dnd_no is repsenting the initial DND. If you only have to get the latest DND then why dont you use max window function on date and get the DND at max date?
Does this makes sense?
Sarah,
So you main target is to get the latest_DND, Does this means that a DND goes through diffrent values? like at start it is 105 and at the current value is 4008. from this data, I assume that rec1 is representing the latest dnd, and dnd_no is repsenting the initial DND. If you only have to get the latest DND then why dont you use max window function on date and get the DND at max date?
Does this makes sense?