使用coalesce(参数1,参数2)函数
例:
select
coalesce((select name from public.sys_map where wkid = '9999'),'哈哈')
from public.sys_map
使用coalesce(参数1,参数2)函数
例:
select
coalesce((select name from public.sys_map where wkid = '9999'),'哈哈')
from public.sys_map