not null 非空约束,该字段必须有值。

    1. create table t_tab {
    2. id: int,
    3. name varchar(255) not null -- 设置非空约束
    4. }