摘要: ##### 10.3.2.2 约束 约束: - not null 某一个字段不能为空 - default 给某个字段设置默认值 - unique 设置一个字段不能重复 - auto_increment 设置某一个int类型的字段 自动增加 - primary key 设置一个字段非空且不能重复 - 外键关联的那张表中的字段必须unique - 级联操作:on update cascade on d 阅读全文
posted @ 2019-09-06 00:41 番茄炒蛋548542 阅读(191) 评论(0) 推荐(0)