StackOverflow 文档 MySQL 教程 索引和键 创建索引 创建索引 Created: November-22, 2018 -- Create an index for column 'name' in table 'my_table' CREATE INDEX idx_name ON my_table(name); 创建唯一索引索引和键