I have table where member_id gets inserted for different user. I want to delete the enteries of member_id except recent two entries for each member in the table.
Tell me the optimized way because its a very large table.
i.e table should has 2 recent entries for each member.
I need query in mysql 4.X.X.X
Please help me.