存档

2018年12月 的存档

利用Oracle UnPivot 实现自定义的行转列

2018年12月24日 没有评论

以下是测试数据

create table Fruit
(id int,name varchar(20),
Q1 int, Q2 int,
Q3 int, Q4 int);

insert into Fruit values(1,'苹果',1000,2000,3300,5000);
insert i[......]

继续阅读。。。

分类: Oracle SQL 标签: ,