select 查询并有条件转变返回结果问题 select (case 字段 when 1 then 'a' when 2 then 'b' else then 'c' end) as columnfrom tb 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select aa=case when col=1 then 'a' when col=2 then 'b' when col=3 then 'c' endfrom tb select case when column=1 then 'a' when column=2 then 'b' when column=3 then 'c' end as columnfrom table 求问sql语句 SQL 设置问题 求SQL语句 sql联合查询排序出现问题 求教 sql 自定义函数--表名作为参数 返回table 急啊!高手告诉我这个怎么写,正确立即给分! 存储中文字符串发生丢失的现象 SqlServer2008排序规则,哪个是UTF-8 Sql7 在windows2000 server 中的安装 xml的查询问题 看一存储过程,大家看看效率 高分求教
from tb
when column=2 then 'b'
when column=3 then 'c'
end
as column
from table