oracle pivot 和 unpivot 函数的使用

pivot的格式 select from ( inner_query) pivot(aggreate_function for pivot_column in ( list of values)) order by ...; 用法举例: select from ( select month,prd_type_id,amount from all_sales ) pivot (sum(amount)
相关文章
相关标签/搜索