1、在创建字段时使用 not null关键字描述例如 create table t (name varchar(20) not null)同时主键也是默认不能为空的。...
6 2022-09-24 09:37