oracle中pivot和unpivot函数用法举例

一、pivot 行转列 使用表dm_custbd_lab_c_month 表结构如下: 行转列语句: select *   from (select t.c_month, t.c_channel, t.c_soto, t.label_code, t.label_value           from dm_custbd_lab_c_month t          where t.c_month
相关文章
相关标签/搜索