A B
1 a
1 b
1 c
2 d
2 e
——————————
1 a b c
2 d e
怎么把上面转换下面
SqlServer?oracle?mysql?
-------------
SqlServer 为例