MySQL

MySQL添加索引

添加PRIMARY KEY(主键索引) ALTER TABLE `table_name` ADD PRIMARY KEY ( `column` ); 添加UNIQUE(唯一索引) ALTER ...