mysql把空值null给过滤错误处理

空值处理方式

--方式一
select * from A where B1 != 1 or B1 is null
--方式二
select * from A where IFNULL(B1,'')  != 1

参考资料
https://blog.csdn.net/qq_33833327/article/details/81513152