万能百科  > 计算机   > 

[单项选择题] 要在users表中插入1条记录,下面哪条语句是正确的()

2021-07-17   

[单项选择题] 要在users表中插入1条记录,下面哪条语句是正确的()

A .InsertIntousers(id,user_namE.Valuee(100,"luhong")提示:id字段类型自动编号,因此,用户不能赋值

B .InsertIntousers(real_name,tel)Valuee("卢红","6545632")提示:user_name是主键必须赋值,但未赋值。

C .InsertIntousers(user_name,Email)Valuee("luhong","")提示:Email不是必填字段,但应该赋NULL值

D .InsertIntousers(user_name,Email)Valuee("luhong",NULL)

正确答案:

D

词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。

标签