【发布时间】:2015-07-18 02:09:22
【问题描述】:
我没有找到任何合适的先前答案,因此发布了这个问题。我需要将行转换为列。 PIVOT 示例都将行转换为单列,而我的要求是多列。我的桌子是这样的
Type ID
test1 10
test1 20
test1 30
test2 10
test2 40
我希望是这样的
Type ID Type ID
test1 10 test2 10
test1 20 test2 40
test1 30
感谢您的建议/意见!
【问题讨论】: