I am looking for best logic for comparing 3 names. Output will have records with same names. (i.e., 3 personnels cannot be same)
ID applicant1 applicant 2 applicant3
1 John Neil Ben
2 John Neil John
3 John Neil Neil
4 John John Ben
5 John Neil Ben
6 John John John
7 John Neil Ben
so output will have
ID applicant1 applicant 2 applicant3
2 John Neil John
3 John Neil Neil
4 John John Ben
6 John John John
Best,
Aakash