select decode (sign(gj),1,xh,0,xh,"其它") as aaa from scjh;
解决方案 »
- SQORA32.DLL 指定驱动程序无法加载
- oracle 取字符串
- pl/sql
- 大家谁用的Oracle 11g
- oracle中使用replace函数遇到的棘手问题,非常棘手,在线等
- 请教chekpoint的概念
- 在oracle数据库中,传入2013-11-11和2013-11-15,怎么样能在一列中显示,如图
- 求一个sql语句,谢谢各位!
- sqlplus连接数据库时报错:ERROR:ORA-00257: archiver error. Connect internal only, until freed.怎么办?
- Oralce9i中的概念问题
- 新手提问:服务器和客户端的问题
- 关于ORACLE8的数据库例程的问题,很奇怪,高手请进。
case when ... then
when ... then
else
end
from ...
group by ...
decode(gj,'0',xh,'其他')