答案
create table actor_name ( first_name varchar(45) not null, last_name varchar(45) not null);/*注意:建表之后,需要;符号,以和之后的代码隔开,不然会报错*/ insert into actor_name (first_name, last_name) select first_name, last_name from actor;
优化
create table if not exists actor_name ( /*if not exists避免重复建表*/ first_name varchar(45) not null, last_name varchar(45) not null); insert into actor_name (first_name, last_name) select first_name, last_name from actor;