oracle 判斷非空字段

sql中判斷非空不能用等號,由於null在sql中被看做特殊符號,必須使用關鍵字 is和not select * from A where info is not null 非空: select id,info from 表名 where info is not null; 空: select id,info from 表名 where info is null;
相關文章
相關標籤/搜索