一.现场

误以为null是" "(空字符串)

NULL不等于“ ”空字符串



二.如何设置值为null

语法

利用updat table set 字段=null where 条件

update sakila.actor
set last_name=null
where actor_id=999


相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-08
  • 2022-12-23
  • 2022-12-23
  • 2021-06-06
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案