请问一个SQL语句的写法 select decode(jan,null,0,1) + decode(feb,null,0,1) + ...+decode(dec,null,0,1) from que where que_id = '12' and year = 2002; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select sum(decode(col_name,null,0,1)) from que where que_id = '12' and year = 2002; select sum(decode(col_name,null,0,1)) from que where que_id = '12' and year = 2002;贴慢了! 是表结构,不是记录。select nvl2(jan,1,0) + nvl2(feb,1,0) + ...+nvl2(dec,1,0) from que where que_id = '12' and year = 2002; 数据库存储方式出错!!!pts-00103 服务里没有oracledbconsole怎么办! ORACLE的表导出为*.sql格式怎么解决啊? 谁能提供国外银行卡在铁路系统的应用介绍? 视图中写三表连接.请各位高手帮帮我! 这样的存储过程如何写? Unique字段的值想通过c#来修改,怎么实现?? 急急!!如何在oracle9i里将ZHS16GBK的字符集改成UTF8???? 关于ORACLE的条件判断问题 判断某日期有没数据的问题 怎样在一台机器的listener.ora中配置多个listener???? 特着急!!!!!!!!!!!
from que
where que_id = '12'
and year = 2002;
from que
where que_id = '12'
and year = 2002;贴慢了!
select nvl2(jan,1,0) + nvl2(feb,1,0) + ...+nvl2(dec,1,0)
from que
where que_id = '12'
and year = 2002;