开发者

How to rotate records

I have two columns (A and B) in a table:

column_A   开发者_运维知识库   column_B
   10           alb
   13           clk
   22           mbr

I am looking for a solution which would return:

column_A        10      13     22
column_B        alb     clk    mbr

How can I achieve this?

I don't know the number of source rows - it will change dynamically.


Try the "Pivot tables" section of this web page: http://www.artfulsoftware.com/infotree/queries.php

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜