【文件属性】:
文件名称:数据库NULL的用法.txt
文件大小:206B
文件格式:TXT
更新时间:2020-06-18 17:41:43
MySQL
MySQL中如何使用NULL,把某个字段置未空的时候
update 表名 set a=NULL where 条件
把空字段作为查询条件的时候
select * from 表名 where a is NULL
select * from 表名 where a != " NULL "
select * from 表名 where a = " NULL "