22,300
社区成员




select c=case
when a is null then d
when b is null then d
else c end from 表名
select case when a is null or b is null then d else c end from tb
select a,b,case when a is null or b is null then d else c end as c from tb
select a,
b,
c=case when ISNULL(A,'')='' or ISNULL(B,'')='' then d else c end
from tb
select a,
b,
c=case when a is null or b is null then d else c end
from tb
select c=case when a is unll or b isnull then d else c end
select a,b,c=case when a is null or b is null then d else c end,d
from tb