i'm not sure about your general requirements as it sound like you want to preparing this sounds like a data warehousing type of problem but... if...
Separate names with a comma.