透视SQL表我是新的枢轴 [英] Pivot SQL table I ma new to pivot
本文介绍了透视SQL表我是新的枢轴的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
RateCategory IDRT1
RateCategoryID1 17557
RateCategoryID2 11514
RateCategoryID1 17558
RateCategoryID2 11516
RateCategoryID1 17559
RateCategoryID2 11514
i want to pivot this table
expected result
RateCategoryID1 RateCategoryID2
17557 11514
17558 11516
17559 11514
What I have tried:
i am not getting how to pivot this table please help me i am new to pivot concept
推荐答案
我希望你已经把你的问题发布为
将列转换为行简单的univot [ ^ ]并接受了答案。
请检查。
干杯
Hi,
I hope you have already posted your question as
Convert columns in to rows simple unpivot[^] and accepted the answer.
Kindly check.
Cheers
这篇关于透视SQL表我是新的枢轴的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文