Deleting duplicate rows in MySQL in-place walkthrough