I have a table like this,
A | B
----------------------
1 | 10
1 | 20
2 | 30
2 | 40
I need output as,
A | B
------------------------
1 | 10,20
2 | 30,40
Thank you in advance