I have the following table test
id Name
1 AA
1 TT
1 V
2 C
3 B
3 N
4 N1
how can I get the following table as result : concat (Name,|) group by id .
id Name
1 AA|TT|V
2 C
3 B|N
4 N1