mysql indexing example
Example 1: how to create index mysql
# index_name will identify your index for future reference
CREATE INDEX index_name ON table_name (column_name);
Example 2: mysql select statement after index
SELECT * FROM table1 USE INDEX (col1_index,col2_index)
WHERE col1=1 AND col2=2 AND col3=3;