注意括号 select * from 表名 where (字段名 is not null)or 字段名 <>'' 转载于:https://www.cnblogs.com/Red-dragon/p/8533546.html