最佳答案
我有以下条件:
Select Coalesce(Other,Industry) Ind from registration
问题是 Other
可以是空字符串或 NULL
。
如何让 coalesce
工作,使得如果 Other
是一个空字符串,Coalesce
仍然返回 Industry
?