SQL_227

创建一个actor表,包含如下列信息

https://www.nowcoder.com/practice/ac233de508ef4849b0eeb4f38dcf09cf

方法一:

思路:创建主键 ,所有字段 not null

代码:

create table
    actor (
        actor_id smallint (5) not null,
        first_name varchar(45) not null,
        last_name varchar(45) not null,
        last_update date not null,
        primary key (actor_id)
    );

全部评论

相关推荐

皮格吉:不,有的厂子面试无手撕,可以试试。都是一边学一边面。哪有真正准备好的时候,别放弃
无实习如何秋招上岸
点赞 评论 收藏
分享
评论
2
1
分享

创作者周榜

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