In reply to javatea:
Thank you for the reply In my case, it takes 2nd value, i.e which is lastly updated