Mega Code Archive

 
Categories / MySQL Tutorial / Table
 

Primary Keys

A primary key data must be unique. Only one primary key can exist for each table. A primary key values can never be null. MySQL requires you to specify NOT NULL when creating a table with a given column specified as PRIMARY KEY.