且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如果我使用 IN 运算符来过滤 NULL 值和空格 它不起作用 为什么?

更新时间:2023-11-13 15:47:46

需要使用IS NOT NULL比较空值

you need to use IS NOT NULL to compare null values

select * from table1 where description is not null and description <> ''