摘要: 非空约束 create table 表名( id int not null ); 唯一约束 create table 表名( id int unique key, name varchar(20) ); 主键约束 primary key 主键的作用:可以唯一标示一条数据,每张表里只有一个主键。 主键 阅读全文
posted @ 2018-06-05 23:13 蓝丷玫瑰 阅读(195) 评论(0) 推荐(0) 编辑