Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10473

Re: How to delete the last record of a particular field

$
0
0

Hi,

 

If you want to remove the duplicate records, use sort for the fields and then do delete adjacent duplicates for the same.

In your case, if Sno and Invoice are key fields, then you can use as suggested by Manish for keeping the invoice with larger Sno.

If you want to keep the one with lower Sno, then you should sort both invoide and sno in ascending.


Viewing all articles
Browse latest Browse all 10473

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>