select 1 where null != 1 没有返回
select 1 where "" != 1 没有返回
select 1 where 0 != 1 有返回
select length(NULL) 返回NULL ,而不是0
最好是把null coalesce成目标类型的某个默认值
select 1 where COALESCE(null, 0) != 1
select 1 where null != 1 没有返回
select 1 where "" != 1 没有返回
select 1 where 0 != 1 有返回
select length(NULL) 返回NULL ,而不是0
最好是把null coalesce成目标类型的某个默认值
select 1 where COALESCE(null, 0) != 1