Answers for "mysql how to index"

SQL
1

how to create index mysql

# index_name will identify your index for future reference
CREATE INDEX index_name ON table_name (column_name);
Posted by: Guest on October-20-2020
6

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;
Posted by: Guest on May-20-2020
0

mysql select statement after index

SELECT * FROM table1 USE INDEX (col1_index,col2_index)
    WHERE col1=1 AND col2=2 AND col3=3;
Posted by: Guest on September-07-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language