Quantcast
Channel: ITPUB论坛-专业的IT技术社区
Viewing all articles
Browse latest Browse all 18583

oracle pivot的问题

$
0
0
select * from (select deptno,job,sal from emp)pivot(sum(sal) for job in(\'MANAGER’,\'PRESIDENT\',\'ANALYST\',\'SALESMAN\')) order by deptno;谁能解释一下这一行代码的意思为什么没有job和sal的显示;

Viewing all articles
Browse latest Browse all 18583

Trending Articles