case语句求助,请帮帮忙. select case when a=1 and b is null then c when a=1 then b when a<>1 and d is null then e when a<>1 then d end from youtable 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select case when a=1 and b is null then c when a=1 then b when a<>1 and d is null then e else d end from youtable select (case a when 1 then case b when isnull then c else b else case d when isnull then e esle d end) from table 【ms/sql问题 事务回滚是否种子也会回滚】 MS sql server 维护人员 问一个查询语句,谢谢! 高手来做填空题目? 查询数据库的部分数据!!!在线等+++++++++++++++++++++++++++++++++++++ 带参数变量判断的存储过程结果查询 求一个过滤考试结果的SQL语句。。。。大哥进啊 存储过程中如内容书写条件语句(if……else if……else)有问题吗? 查询分析器中执行计划,服务器跟踪,客户端统计,怎么看呀!!??高人指点!! 如何将图片插入到SQL中 提问sql有解吗? 求SQL语句,包括函数运算,分组子句
when a=1 then b
when a<>1 and d is null then e
else d end
from youtable