sql server 查询数据判断为空 select * from info where typeid= 1 and xxx is NOT null select * from info where typeid= 1 and xxx is null