摘要: 查看索引 show index from 数据库表名 alter table 数据库add index 索引名称(数据库字段名称) PRIMARY KEY(主键索引) ALTER TABLE `table_name` ADD PRIMARY KEY ( `column` ) UNIQUE(唯一索引) 阅读全文
posted @ 2017-08-10 16:56 kabibo 阅读(33123) 评论(0) 推荐(2) 编辑