题解 | #创建一个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-19 13:59
门头沟学院 Java
用微笑面对困难:Trae一下,如果真成了,他用了直接发字节起诉代码版权,,这个代码不商用是没问题的如果没成也是情理之中的。
点赞 评论 收藏
分享
投递网易等公司10个岗位
点赞 评论 收藏
分享
评论
8
2
分享

创作者周榜

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