mysql 判断 null 或空字符串

2,184 阅读1分钟

select * from test where name is null or LENGTH(trim(name)) < 1