mysql create non unique index code example
Example 1: mysql remove unique constraint
ALTER TABLE tbl_name DROP INDEX index_name
Example 2: mysql set field unique
ALTER TABLE mytbl ADD UNIQUE (columnName);
Example 3: how to create index mysql
# index_name will identify your index for future reference
CREATE INDEX index_name ON table_name (column_name);
Example 4: create index mysql
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;