我现在有这么一个表:
(SeqNo Number, ID Number, Value Number)
里面数据如下:
1,1,120
1,2,130
1,3,140
2,2,210
2,4,220
想要得到如下显示:(具体多少个ID无法确定,有多少显示多少)
SeqNO, ID1, Value1, ID2, Value2, ID3, Value3...
1, 1, 120, 2, 130, 3, 140
2, 1, null, 2, 210, 3, null, 4, 200
有没有办法?
谢谢!
(SeqNo Number, ID Number, Value Number)
里面数据如下:
1,1,120
1,2,130
1,3,140
2,2,210
2,4,220
想要得到如下显示:(具体多少个ID无法确定,有多少显示多少)
SeqNO, ID1, Value1, ID2, Value2, ID3, Value3...
1, 1, 120, 2, 130, 3, 140
2, 1, null, 2, 210, 3, null, 4, 200
有没有办法?
谢谢!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货