dereckbu

 

在mysql中,查询某字段为null空时,切记不可用 = null,而是 is null,不为空则是 is not null 而不是 != null
   
select * from table where column is null;
 
select * from table where column is not null;

分类:

技术点:

相关文章:

  • 2022-01-07
  • 2020-10-09
  • 2021-12-20
  • 2022-01-07
  • 2021-08-31
  • 2021-08-31
  • 2021-12-10
猜你喜欢
  • 2021-08-31
  • 2021-08-31
  • 2022-01-07
  • 2021-12-10
  • 2021-08-31
  • 2022-01-07
  • 2021-08-31
相关资源
相似解决方案