I deleted my other post for the same question and reposting a new one as I feel the other question is confusing. Please pardon me for the duplicate. Hoping this would get some traction
Here is my table A
Id Name
1 Name1
1 Name2
2 Name3
2 Name4
2 Name5
Table B:
Id FileName
1 file1
2 File2
I need the output combined with table B as
Id FileName Name
1 file1 Name1,Name2
2 file2 Name3,Name4,Name5
I tried couple of approaches with COALESE , they work stand-alone, but only when I input Id=<>.
How do I do this combined with two tables?
Please let me know if I can explain more. And I apologize for my last post.
There is on your responsibility to strip the last comma 😎
Hint: