A PRIMARY KEY is a unique KEY with the extra constraint that all key columns must be defined as NOT NULL. In MySQL the key is named PRIMARY. A table can have only one PRIMARY KEY. If you don't have a PRIMARY KEY and some applications ask for the PRIMARY KEY in your tables, MySQL will return the first UNIQUE key, which doesn't have any NULL columns, as the PRIMARY KEY.
Heißt:
Primärschlüssel, ein eindeutiger Schlüssel (Auto_increment), mit dem Datensätze eindeutig identifiziert werden können.
Kommentar