数据库查询某一字段为空的数据

数据库查询某一字段为空的数据

select * from t_bus_shop_type WHERE `school_id` = 1 or `school_id` is NULL and `status` != 3;html

 

 

 

是is null 不是= null数据库

posted @ 2018-09-13 10:32 wangbiubiu 阅读( ...) 评论( ...) 编辑 收藏