Home > Database > Mysql Tutorial > body text

What does mul mean in mysql

藏色散人
Release: 2020-10-29 16:49:19
Original
22722 people have browsed it

In mysql, mul is Key, and key means key. Key is divided into primary key, foreign key FOREIGN KEY and general key. When Key is MUL, the value of the column can be repeated, and This column is the leading column of a non-unique index.

What does mul mean in mysql

Recommendation: "mysql video tutorial"

key means key, and key is divided into primary key. FOREIGN KEY, and general keys (ie indexes). This sentence actually creates an index.

It should be said that it is the key attribute:

1. If Key is empty, then the column value can be repeated, indicating that the column has no index, or is a non-unique composite index. Leading column.

2. If Key is PRI, then this column is part of the primary key.

3. If Key is UNI, then the column is the first column (leading column) of a unique value index and cannot contain null values ​​(NULL).

4. If Key is MUL, then the value of the column can be repeated. The column is the leading column (first column) of a non-unique index or is a component of a unique index but can contain null values. NULL.

The above is the detailed content of What does mul mean in mysql. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template