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-12-13 09:39:10
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