The 3rd party table is like this
name group
steve group1
jim group1
jen group2
steve group2
sam, jen group3
The name column could be one name, or comma separated several names
steve
jim
jen
steve
sam, jen
group column could be
group1
group1
group2
group2
group3
So you can see neither name nor group is unique.
What I want is merge the values of name for the same group,
So it could look like this
name group
steve, jim group1
jen, steve group2
sam, jen group3
so the group will be unique, and then I would use group as the key.