Answers for "mysql indexing example"

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
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
1

index in mysql

Ex. Explain select * from user where name = ‘kinjal’	#here explain is used for finding that how much time it takes to find name, how much rows in search.
Posted by: Guest on September-13-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language