I have to find if there are Rows where a Name has more than one distinct Family.
Note:
NameandFamilycan be duplicate.
ID      Name        Family
1       ABC         XYZ
2       DEF         XYZ
3       ABC         UVW
4       ABC         RST
5       DEF         RST
6       GHI         UVW
The expected Output should be
Name
ABC
DEF
 
    