I have a table which has Ids as primary key with auto increment (random value) but has duplicates entries while checking the data from other columns, now need to delete those duplicate entries.
I have tried using distinct, MySQL 5 doesn't have rownum, so didn't try with rownum.
Currently, data is like this
Id Col1
1anx A
css2 B
3xcs B
cd4v C
xcv5 D
czv6 D
I want data to be like this:
Id Col1
1anx A
css2 B
cd4v C
xcv5 D