wydchn

当我们想在sql语句中已某字段的值是否为null为条件进行查询,使用name = NULL 是不起作用的,

我们可以使用is null 和is not null 来判断某字段的值是否为null

select * from table where name is null

 

分类:

技术点:

相关文章:

  • 2021-12-04
  • 2021-12-10
  • 2022-01-07
  • 2021-12-10
  • 2021-06-30
  • 2021-11-27
  • 2021-12-04
猜你喜欢
  • 2022-01-07
  • 2021-12-10
  • 2021-12-10
  • 2021-12-20
  • 2022-01-07
  • 2021-12-10
  • 2022-01-07
相关资源
相似解决方案