请问SQLsever2017报错“消息 515,级别 16,状态 2,第 1 行 不能将值 NULL 插入列 '_followed_by_who_',列不允许有 Null 值。INSERT 失败。”为什么?

我想把表s3userinformation中的_questioncount_列追加到表s3ing1中

先在s3ing1表中新建了这个列,设为not null默认值是0

因为s3ing1是s3userinformation中的子集,两者根据_urltoken_联接,

然后代码是

```insert into s3_ing1(_question_count_)
select s3_userinformation._question_count_
from s3_userinformation,s3_ing1
where s3_userinformation._url_token_ = s3_ing1._url_token_


最后显示错误是

“消息 515,级别 16,状态 2,第 1 行

不能将值 NULL 插入列 '_followed_by_who_',表 's3_t1.dbo.s3_ing1';列不允许有 Null 值。INSERT 失败。

语句已终止。”


但是我没要求往_followedbywho_这一列里插入啊,而且它是表s3ing1的主键,请问大佬们有人知道为什么会这样嘛?(哭)

这个主键没加自增吧?