Create Internal Sequence to Uniquely Identify Duplicates (Oracle Database)

Step 1: Create Test Table: 

 

Result:

 

Step 2: Run PL/SQLl anonymous block to deal with the duplicates:

 

Result:

Share on LinkedInShare on Google+Tweet about this on TwitterShare on FacebookShare on Reddit