在postgresql中也写过类似的sql,将一张表的数据导入另一张表中,insert into actor_name select first_name,last_name from actor
没想到在mysql 中也可以!
create table actor_name(
first_name varchar(45) not null comment '名字',
last_name varchar(45) not null comment '姓氏'
);
insert into actor_name select first_name,last_name from actor