mysql index add , drop, show

in #index6 years ago (edited)

SHOW INDEX FROM tablename;

ALTER TABLE tablename ADD INDEX indexname (column1, column2);

ALTER TABLE tablename ADD UNIQUE INDEX indexname (column1, column2);

ALTER TABLE tablename DROP INDEX indexname;

Sort:  

Congratulations @taegyunkim! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 1 year!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.20
TRX 0.24
JST 0.037
BTC 97001.71
ETH 3368.75
USDT 1.00
SBD 3.07