The primary key is always indexed. This is the same for MyISAM and InnoDB, and is generally true for all storage engines that at all supports indices.
More Related Contents:
- Differences between INDEX, PRIMARY, UNIQUE, FULLTEXT in MySQL?
- Does MySQL index foreign key columns automatically?
- What’s the difference between using INDEX vs KEY in MySQL?
- DOs and DONTs for Indexes [closed]
- Which DB technology is sued to solve the following search issue? [closed]
- MyISAM versus InnoDB [closed]
- Compare two MySQL databases [closed]
- How should I resolve –secure-file-priv in MySQL?
- What does character set and collation mean exactly?
- What’s faster, SELECT DISTINCT or GROUP BY in MySQL?
- Storing image in database directly or as base64 data?
- Implementation of Levenshtein distance for mysql/fuzzy search?
- How do MySQL indexes work?
- Best type of indexing when there is LIKE clause [duplicate]
- Maximum length for MySQL type text
- What effects does using a binary collation have?
- MySQL SELECT increment counter
- Hyphens in column names in MySQL DB
- Error Code: 1215. Cannot add foreign key constraint (foreign keys)
- Error renaming a column in MySQL
- Modeling Product Variants
- Mysql database sync between two databases
- What’s the best database structure to keep multilingual data? [duplicate]
- Does mysql have the equivalent of Oracle’s “analytic functions”?
- Using reserved words in column names
- What is the difference between SQL and MySQL? [closed]
- mysql Failed to read auto-increment value from storage engine
- Selecting distinct 2 columns combination in mysql
- Inventory management with stock options
- Failed to connect to mysql at 127.0.0.1:3306 with user root access denied for user ‘root’@’localhost'(using password:YES)