【SQL】插入数据,从Select语句中获取
insert into table_name ( id, name ) ( select stu_id, stu_name from stu_table where stu_id = #{stuId} )
[ 版权声明 ]:
本文所有权归作者本人,文中参考的部分已经做了标记!
商业用途转载请联系作者授权!
非商业用途转载,请标明本文链接及出处!
insert into table_name ( id, name ) ( select stu_id, stu_name from stu_table where stu_id = #{stuId} )