题解 | #创建一个actor_name表#
创建一个actor_name表
http://www.nowcoder.com/practice/881385f388cf4fe98b2ed9f8897846df
在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