NULL不等于“ ”空字符串
一.现场
误以为null是" "(空字符串)
二.如何设置值为null
语法
利用updat table set 字段=null where 条件
update sakila.actor
set last_name=null
where actor_id=999
一.现场
误以为null是" "(空字符串)
二.如何设置值为null
语法
利用updat table set 字段=null where 条件
update sakila.actor
set last_name=null
where actor_id=999