decode 在Oracle中有,难道在SQL Server中就没有类似的吗? select Case col1 When A then val1 When B then val2 End from tab1; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我要这样用啊!select count(a.no),sum(b.full) fullfrom student a,(select no,decode(status,1,1,0) from student) bwhere a.no=b.no用SQL Server中如何写亚! 在SQL和DB2中都用CASE====★★★★==== oracle零基础者求教!!! oracle用户不同的连接身份创建存储过程 如何在oracle中定义和执行字符串 Oracle基于表创建新表 HQL 单表自关联问题 关于触发器的一些疑问 有关11.1.0.6升级到11.1.0.7的问题 简单问题,在线等 查询条件的顺序一定要和索引建立时字段的顺序一致吗?如果不一致,会不会影响查询速度? ORA-29540: 类 oracle/jpub/runtime/dbws/DbwsProxy 不存在 关于ORacle和SQL SERVER 请问如何在pl/sql中取得操作系统的环境变量?
select count(a.no),sum(b.full) full
from student a,
(select no,decode(status,1,1,0) from student) b
where a.no=b.no用SQL Server中如何写亚!
====★★★★====