标签:
1.添加PRIMARY KEY(主键索引):
ALTER TABLE `table_name` ADD PRIMARY KEY ( `column` )
2.添加UNIQUE(唯一索引) :
Mysql如何为表字段添加索引???
原文地址:http://www.cnblogs.com/itsharehome/p/4955162.html