INSERT INTO table1 SELECT * FROM table2;
INSERT INTO table1(filed1,...,filedn) SELECT table2.filed1,...,table2.filedn FROM table2;
INSERT into db_ds_edu.t_exam_student(stu_id,stu_number,stu_name,school_id,campus_id,grade_id,class_id,xuebu_id)SELECT stu.id, stu.student_num,person.name, stu.school_id, stu.campus_id, stu.grade_id, stu.clas_id, stu.xuebu_idFROMdb_ds.t_stu_info AS stu,db_ds.t_p_person_info as personWHERE stu.person_id = person.id
正在学习Go语言的PHP程序员。