题解 | #创建一个actor表,包含如下列信息 易错题#
创建一个actor表,包含如下列信息
https://www.nowcoder.com/practice/ac233de508ef4849b0eeb4f38dcf09cf
create table actor( actor_id smallint(5) primary key, first_name varchar(45) not null, last_name varchar(45) not null, last_update date not null )
记住创建表的代码
create table [表名] (
数据名称 数据类型 数据限制
)
常见数据限制 not null, primary key