解决方案 »
- Oracle 连接错误;ORA-27101: shared memory realm does not exist
- 执行select count(EntID) 时间很长 数据100W
- 初级建表问题。。。
- 问大家一个很弱的问题(进来有分!)
- 初级问题,每月执行次,请高高手指点
- 我在装ORACLE的时候提示不能确定主机的IP地址。。。。
- 机器改名oracle不能连接???
- 新手:Oracle 9.0i 是否可以安装在Win2000 Server
- 改表空间数据文件名之后出错
- oracle中怎么把行转变成列、列转变成行
- oracle里面,一个存储过程需要返回多个结果集,应该咋整
- 游标内使用嵌套查询的问题
with tt as(
select 1 id,'c1' nn from dual
union
select 2,'c2' from dual
union
select 3,'c3' from dual
)
select sum(c1) c1,sum(c2) c2,sum(c3) c3
from
(select case nn when 'c1' then id else 0 end c1,
case nn when 'c2' then id else 0 end c2,
case nn when 'c3' then id else 0 end c3
from tt)