sql 中的coalesce函数

it2026-05-28  11

coalesce(表达式)

相当于

case when 表达式 is not null then 表达式

       when 表达式1 is not null then 表达式1

       else null

end

转载于:https://www.cnblogs.com/lfzwenzhu/archive/2010/11/03/1868206.html

最新回复(0)