Oracle 11g Pivot函数实现列转行

先上语法规范: SELECT ....FROM    PIVOT     (      aggregate-function()      FOR  IN (, ,..., )        ) AS WHERE ..... 经过一个例子说明其用法: select * from (select salary, department_id from employee) pivot(sum(salar
相关文章
相关标签/搜索