Table1:
ID Sex
1: 12345 M
2: 23456 M
3: 34567 F
4: 45678 F
5: 56789 F
Table2:
ID name
1: 12345 sam
2: 23456 jack
3: 23456 tom
4: 56789 steve
5: 56789 rob
I need to merge these two tables to get:
ID Sex name
1: 12345 M sam
2: 23456 M jack,tom
3: 34567 F
4: 45678 F
5: 56789 F steve,rob
I tried to use the Join
function but it doesn't allow me to combine those names, is there a good way to solve this?