I have a table that has multiple duplicate records as the following:
ID Title
-----------------
1 Article A
2 Article A
3 Article B
4 Article C
5 Article A
In the above case, i need all duplicate titles and leave one only.
Article B and Article C are fine.
I need to remove Articles A, except one.
Sample output:
ID Title
-----------------
1 Article A
3 Article B
4 Article C
Note: i’m not concerned about which ID to keep or remove. All i want is one record to be pertained.
Assuming i have huge bulk of records that has duplicate titles
Any suggestion?
ELSE
create another table as below
and add values as
considering
old_tableis the earlier table…