定义主键约束: primary key:不允许为空,不允许重复
删除主键:alter table tablename drop primary key ;
定义主键自动增长:auto_increment
定义唯一约束:unique
定义非空约束:not null
定义外键约束:constraint ordersid_FK foreign key(ordersid) references orders(id),
已有 22658 名学员学习以下课程通过考试
最需教育客户端 软件问题一手掌握
去 App Store 免费下载 iOS 客户端
点击加载更多评论>>