题解 | #创建一个actor_name表#

创建一个actor_name表

http://www.nowcoder.com/practice/881385f388cf4fe98b2ed9f8897846df

本题主要考察sql创建表的方式:
1、create table if not exists table_name();
2、create table table_name like table_name1;(复制表结构)
3、create teble if not exists table_name() select * from table table_name1;数据复制
本题:

create table if not exixts actor_name
(first_name varchar(45) not null,
 last_name  varchar(45) not null)
select first_name,last_name from actor;
全部评论

相关推荐

05-22 12:44
已编辑
门头沟学院 golang
点赞 评论 收藏
分享
LemontreeN:有的兄弟有的我今天一天面了五场,4个二面一个hr面
投递字节跳动等公司9个岗位
点赞 评论 收藏
分享
评论
7
2
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务