unique index与primary key的差别
unique index与primary key的区别
PK:
是一个约束条件,主键,默认会创建一个索引,如果该字段有索引则不再创建,
不可以为null,可创建FK
unique index:
是一个索引,可以为null,可创建FK