问题遇到的现象和发生背景
看看代码的问题,怎么解决
问题相关代码,请勿粘
第一列是占位符,数据类型是数字且为主键并自增
insert into student values(0,("金毛狮王","杨逍","灭绝师太"),("男","男","男"),(1960-09-06,1970-06-06,2003-10-19),(1,2,3));
ERROR 1241 (21000): Unknown error 1241
看看代码的问题,怎么解决
第一列是占位符,数据类型是数字且为主键并自增
insert into student values(0,("金毛狮王","杨逍","灭绝师太"),("男","男","男"),(1960-09-06,1970-06-06,2003-10-19),(1,2,3));
ERROR 1241 (21000): Unknown error 1241
收起
内部的每个括号,放的不是应该是一行的值么?你怎么放的一列?
而且不要放主键
报告相同问题?