postgreSQL 有isnull吗?
可以使用coalesce函数
coalesce(expr1,expr2,expr3...)
直到找到一个非null值返回,右边的表达式则不参与运算;若所有为null,返回null.