摘要: 约束什么是约束 除了数据类型以外额外添加的约束为什么要使用约束 为了保证数据的合法性 完整性分类: not null 非空约束 数据不能为空 create table student (id ind,name char(10) not null);default 默认值约束 可以指定字段的默认值 create table user (id ind,name cha... 阅读全文
posted @ 2018-09-13 15:42 い年少有为 阅读(126) 评论(0) 推荐(0) 编辑