Field 'id' doesn't have a default value?

很简单,建表id既不是自增列,也不是随机列,也没有给default值 .
要不改建表语句,要不insert把id加上

1 个赞