摘要: 1 """ 2 什么时候用主键?主键的作用? 3 保证数据的唯一性 4 一张表只能有一个主键 5 一个主键只能是一列吗?错的 可以有多列 6 7 例子: 8 create table t1( 9 nid int(11) not null auto_increment primary key, 10 pid i... 阅读全文
posted @ 2019-01-11 21:05 牧羊世界 阅读(189) 评论(0) 推荐(0) 编辑