MySQL错误1241:操作数应该包含1列(s)

我正试图从表1插入数据到表2

insert into table2(Name,Subject,student_id,result) select (Name,Subject,student_id,result) from table1; 

表2的关键是student_id。

假设没有任何重复。

我得到的错误: MySQL error 1241: Operand should contain 1 column(s)

表2中只有四列。

语法错误,从select删除( )

 insert into table2 (name, subject, student_id, result) select name, subject, student_id, result from table1; 

只要删除您的SELECT语句()

 insert into table2 (Name, Subject, student_id, result) select Name, Subject, student_id, result from table1;