how to create index mysql
# index_name will identify your index for future reference
CREATE INDEX index_name ON table_name (column_name);
how to create index mysql
# index_name will identify your index for future reference
CREATE INDEX index_name ON table_name (column_name);
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;
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.
what is the use of index in mysql table
Indexes are used to find rows with specific column values quickly. Without an index, MySQL must begin with the first row and then read through the entire table to find the relevant rows. The larger the table, the more this costs.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us