COALESCE(columnname,string) 函数 将 NULL 值作为字符串(用空字符串或其他字符串替换 NULL)- 接受一列输入值(字段)如果该字段为 NULL,则返回后面替换的字符串 SELECT custid,country,region,city,country+N','+region+N','+city AS location FROM Sales.Customers SELECT custid,country,region,city,country+N','+COALE…