SQL中NULL字段

简单查看下securitygrouprules表字段

select * from neutron.securitygrouprules limit 1,10

remote_group_id字段信息:
在这里插入图片描述

筛选不为NULL字段信息

select * from neutron.securitygrouprules where remote_group_id!='';

筛选为NULL字段信息

select * from neutron.securitygrouprules where remote_group_id is NULL;
发布了42 篇原创文章 · 获赞 7 · 访问量 14万+

猜你喜欢

转载自blog.csdn.net/szj_jojoli/article/details/96101049