About 84,900 results
Open links in new tab
  1. MySQL :: MySQL 8.4 Reference Manual :: 15.1.15 CREATE INDEX Statement

    CREATE INDEX cannot be used to create a PRIMARY KEY; use ALTER TABLE instead. For more information about indexes, see Section 10.3.1, “How MySQL Uses Indexes”. InnoDB supports …

  2. MySQL CREATE INDEX Statement - W3Schools

    MySQL CREATE INDEX Statement The CREATE INDEX statement is used to create indexes on tables in databases, to speed up data retrieval. The users cannot see the indexes, they are just used to …

  3. MySQL CREATE INDEX

    In this tutorial, you will learn about indexes and how to use the MySQL CREATE INDEX statement to add an index to a table.

  4. MySQL CREATE INDEX Statement - GeeksforGeeks

    Jul 23, 2025 · The CREATE INDEX statement is an important tool for enhancing database performance. By creating indexes, MySQL can quickly locate and retrieve relevant data, reducing the need for full …

  5. 15.1.15 CREATE INDEX Statement - Oracle

    CREATE INDEX cannot be used to create a PRIMARY KEY; use ALTER TABLE instead. For more information about indexes, see Section 10.3.1, “How MySQL Uses Indexes”. InnoDB supports …

  6. MySQL Index

    Section 1. Creating and Managing MySQL indexes This section explains what an index is and shows you how to create, modify, and drop an index. Creating indexes – introduce the index concept and …

  7. MySQL CREATE INDEX Statement: Usage & Examples - DataCamp

    Learn how to use the MySQL CREATE INDEX statement to optimize query performance by building indexes on table columns, improving data retrieval speed in large datasets.

  8. MySQL Indexes - GeeksforGeeks

    Jul 23, 2025 · MySQL indexes are among the most important elements of database performance optimization, particularly in data retrieval operations. The proper knowledge and implementation of …

  9. MySQL :: MySQL 9.6 Reference Manual :: 10.3.5 Column Indexes

    Index Prefixes With col_name (N) syntax in an index specification for a string column, you can create an index that uses only the first N characters of the column. Indexing only a prefix of column values in …

  10. How do I add indexes to MySQL tables? - Stack Overflow

    In MySQL, if you use ALTER TABLE tbl ADD INDEX (col) instead of ALTER TABLE tbl ADD INDEX col (col), then using ALTER TABLE tbl ADD INDEX (col) more than once will keep adding indices named …