sql server if else

case when   aa  IS NULL then '未确认' else '已确认' end status

原文地址:https://www.cnblogs.com/Mr-Y1907/p/14028785.html