MySQL第十一课 创建索引

针对表(cs_container_operation)某一列(soleNo)添加索引

alter table cs_container_operation add index soleNoIndex (soleNo)

针对表(cs_container_operation)某几列(ctnno, shipName, voyage)添加索引

alter table cs_container_operation add index workIndex (ctnno, shipName, voyage)

猜你喜欢

转载自blog.51cto.com/fengyuzaitu/2530086