how to update duplicate id?
821674Dec 22 2010 — edited Dec 22 2010Hi friends,
I have a table EMP with duplicate IDs.
For example:
ID
----
100
100
200
200
200
To make it unique, I would like to concatenate at the end of each a sequence-no or rownum, like this desired output:
ID
---
1001
1002
2001
2002
2003
How do I write a sql to do this?
Thanks a lot,
Ms Inday