insert into employees
(employeeid, name, email)
select 210, name, email from candidates where name = 'test';
(employeeid, name, email)
select 210, name, email from candidates where name = 'test';
本文介绍了一条SQL语句,用于将候选人表中名为'test'的数据插入到员工表中,包括员工ID、姓名和电子邮件三个字段。

被折叠的 条评论
为什么被折叠?