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. |