/
猿问
2 回答

慕田峪9158850
1.在定义表时
create table t1
(
id int not null , --默认为可以为空
.......
)
2.在筛选字段时,比如你定义邮箱验证表时把没有验证邮箱的用户Email_In的值为空,你要查询没有验证邮箱的用户。要用到的 is null
select * from table where Email_In is null 反之(is not null)为验证过的用户。
添加回答
举报
0/150
提交
取消