3.is null和is not null

3.WHERE中使用is null和is not null
  //查询工资是null空值的人
  select * from person where salary is null;
  //查询工资不为null的人
  select * from person where salary is not null;
posted @ 2016-05-16 11:29  YunMan  阅读(189)  评论(0编辑  收藏  举报