how to create index mysql
snippet in sql

create index mysql

user4778

create index your_index_name on your_table_name(your_column_name) using HASH;
or
create index your_index_name on your_table_name(your_column_name) using BTREE;

how to create index mysql

user3433

# index_name will identify your index for future reference
CREATE INDEX index_name ON table_name (column_name);