Oracle 11g Pivot函數實現列轉行

先上語法規範: SELECT ....FROM    PIVOT     (      aggregate-function()      FOR  IN (, ,..., )        ) AS WHERE ..... 經過一個例子說明其用法: select * from (select salary, department_id from employee) pivot(sum(salar
相關文章
相關標籤/搜索