现在当我执行下面的查询时:
insert into customers values('first','last','mobile','address','mail','sex','national','more')
只需将first
,last
,mobile
和address
插入(firstName,lastName,移动和地址)字段。
此查询或表格有什么问题?
答案 0 :(得分:1)
只需使用带有指定字段的插入
insert into customers
(firstName, lastName, mobile, address, mail, sex, nationalNumber, more)
values
('first','last','mobile','address','mail','sex','national','more')