标签:nbsp 数据库 显示 hid case when rom -- end bsp
select case when H=1 then ‘在售‘
when H=2 then ‘售完‘ end
as H from HH
select * from HH
--case when then end
select HID,case H when 1 then ‘在售‘
when 2 then ‘售完‘ end as HHu from HH
标签:nbsp 数据库 显示 hid case when rom -- end bsp
原文地址:http://www.cnblogs.com/zeng-qh/p/7354449.html