方法一:

思路:创建主键 ,所有字段 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)
    );