sql语句中要查询一个字符串字段不为空怎么写

注意括号

select * from 表名 where (字段名 is not null)or 字段名 <>''

posted @ 2018-03-09 13:59  专住  阅读(13994)  评论(1编辑  收藏  举报