How can I group multiple rows of data?
My data structure is similar to:
ID NAME PhoneNo
1 Jon 8798765
2 Jon 3134684
3 Adams 7968434
4 Phil 3435435
5 Thomas 6734354
6 Jon 2343545
7 Jeff 3435424
8 Adams 3434354
I need to use SQL to group the information so I get something like this:
ID NAME PhoneNo
1 Jon 8798765,3134684,2343545
3 Adams 7968434,3434354
4 Phil 3435435
5 Thomas 6734354
7 Jeff 3435424
See what I did there? I de-duplicated and added all the phone numbers on the same field, comparing the names: Same name= same person, so put all the names on the same cell. I'm currently using MS access, but I guess any other variant could work (I can find the equivalency)