查询非空记录
方法一、sql="select * from table where id<>null "
方法二、sql="select * from table where len(id)>1"
方法二、select * from News where Newstype = "指定值" and newspic is not Null order by NewsID desc
查询值为空的记录 select * from News where Newstype = "指定值" and newspic is Null order by NewsID desc
其它的反之