数据库键值与约束条件

约束条件 Null 容许为空 (“”)–不为空(0个字符) (null) Not null 不容许为空 key 索引类型 default 设置默认值 create table db2.t2(name char(3) not null, leven int not null default 300, sex enum(“m”,“w”) not null default “m” ); ±------±
相关文章
相关标签/搜索