1. 空值判断(IS NULL):
SELECT * FROM your_table WHERE column1 IS NULL;
2. 非空值判断(IS NOT NULL):
SELECT * FROM your_table WHERE column1 IS NOT NULL;
空条件常用于在查询中过滤或选择包含或不包含空值的数据。
转载请注明出处:http://www.zyzy.cn/article/detail/11732/OceanBase
SELECT * FROM your_table WHERE column1 IS NULL;
SELECT * FROM your_table WHERE column1 IS NOT NULL;