æ¯å¦
insert into table a (a1,b1)values("a1",'');
对äºè¿ç§æ
åµï¼å 为表éåçæ¯''ï¼å
¶å®æ¯æ²¡æå
容çï¼è¦æ¥è¯¢è¿ä¸ªå段ï¼ä¸è½ç´æ¥ä½¿ç¨
select *
from a
where b1='';
sqlä¸å¤æé空ä¸è½ç¨çå·ï¼å 为nullå¨sqlä¸è¢«çä½ç¹æ®ç¬¦å·ï¼å¿
须使ç¨å
³é®å isånot
åºè¯¥å¦æ¤ä½¿ç¨ï¼
select * from A where b1 is null
æè
ï¼
select * from A where b1 is not null
温馨提示:答案为网友推荐,仅供参考