题解 | #创建一个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;
全部评论

相关推荐

09-01 11:31
门头沟学院 Java
buul:七牛云的吧,感觉想法是好的,但是大家没那么多时间弄他这个啊。。。不知道的还以为他是顶尖大厂呢还搞比赛抢hc,只能说应试者的痛苦考察方是无法理解的,他们只会想一出是一出
点赞 评论 收藏
分享
用微笑面对困难:只要你保证项目和获奖都是真的就行尤其是“对战,总负责人”啊这些套职,基本上队员,打杂的都这么写
点赞 评论 收藏
分享
评论
8
2
分享

创作者周榜

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