I have a table [user_logs] with the following fields [username], [datetimelog]
Sample Data
============== user1 2011-06-28 08:49:01 user2 2011-06-28
DELETE from user_logs UL1, user_logs UL2 where UL1.username =UL2.datetimelog and UL1.datetimelog < UL2.datetimelog
Try that