coalesce
coalesce介绍
coalesce(expr1, expr2, ...) - 如果存在非空参数,则返回第一个非空参数。否则,返回 null。
Examples:
> SELECT coalesce(NULL, 1, NULL);
1
Since: 1.0.0
coalesce(expr1, expr2, ...) - 如果存在非空参数,则返回第一个非空参数。否则,返回 null。
Examples:
> SELECT coalesce(NULL, 1, NULL);
1
Since: 1.0.0