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
时间: 2024-10-10 22:29:59
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