I\'m having some trouble with deleting duplicate rows that either belongs to a) the same user or b) different users.
For case a) I want to delete one of the duplicate row