444
社区成员
![](https://csdnimg.cn/release/cmsfe/public/img/topic.427195d5.png)
![](https://csdnimg.cn/release/cmsfe/public/img/me.40a70ab0.png)
![](https://csdnimg.cn/release/cmsfe/public/img/task.87b52881.png)
![](https://csdnimg.cn/release/cmsfe/public/img/share-circle.3e0b7822.png)
作者:小5聊
原则:Write Less Do More!
简介:一只喜欢全栈方向的程序员,专注基础和实战分享,欢迎咨询,尽绵薄之力答疑解惑!
create table temptable
(
id int identity(1,1) primary key,
name nvarchar(50),
age int
)
insert into temptable(name,age)
values('张三',30),('李四',28),('王五',NULL),('刘六',29),('李七',NULL)
1)全表查询
select * from temptable
2)不等于查询
从下图可以知道,使用不等于查询,是不会筛选出null值得记录