SUM(DECODE(DEPTNO, 10, SAL, 0)) AS "Dept 10 Sal", SUM(DECODE(DEPTNO, 20, SAL, 0)) AS "Dept 20 Sal", SUM(DECODE(DEPTNO, 30, SAL, 0)) AS "Dept 30 Sal", ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible resultsSome results have been hidden because they may be inaccessible to you
Show inaccessible results