1. MySQL 有些字段设置默认为null,where 条件使用是要注意不能使用一下格式
select name from teacher where name =null 或者是 select name from teacher where name =‘’null‘
要使用以下的形式:
select name from teacher where name is NULL
1. MySQL 有些字段设置默认为null,where 条件使用是要注意不能使用一下格式
select name from teacher where name =null 或者是 select name from teacher where name =‘’null‘
要使用以下的形式:
select name from teacher where name is NULL
2395

被折叠的 条评论
为什么被折叠?