What is the question about Mysql?

Source: Internet
Author: User

  Helper House (Bkjia.com) TutorialWhat does MYSQL mean in English?

Reference content is as follows:
The automatic index on the primary key takes care of the index required by AUTO_INCREMENT.

Best Answer:

This sentence is from PHP and MySQL Web development.

It is hard to understand the author just extract one sentence. The context is like this.

Primary key after a column name specifies that this cloumn is the primary key for the table. entries in this column have to be unique. mySQL will automatically index this column. notice that where we 've used it above with customerid in the MERs table we 've used it with AUTO_INCREMENT. the automatic index on the primary key takes care of the index required by AUTO_INCREMENT.

The customers table structure is as follows:

Create table MERs

(

Customerid int unsigned not null auto_increment primary key,

Name char (30) not null,

Address char (40) not null,

City char (20) not null

);

From the context

It should be understood that the automatic index of the primary key can support auto-increment indexes. Or the literal translation is

The automatic index of the primary key has taken into account (taken care of) the support for auto-increment indexes.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.