Posts

Showing posts from September, 2011

How to delete duplicate record from table in mysql

delete from table1 USING table1, table1 as vtable WHERE (table1.ID > vtable.ID) AND (table1.field_name=vtable.field_name)