oracle查询某个字段不为空的sql语句
摘要:
之前我判断为空的时候,用的是: select * from a where alex=' ' or alex != ' ' 其实这样写是错误的,因为在sql中null值是特殊字符,所以不能用=号表示; 应该是: select * from a where alex is null or is not 阅读全文
posted @ 2021-03-10 10:42 学弟1 阅读(3081) 评论(0) 推荐(1)