MySQL Database
MySQL Primary Key
Identify each table row uniquely.
CREATE TABLE products (
id INT PRIMARY KEY,
name VARCHAR(255) NOT NULL
);A primary key is unique and cannot be NULL. A table has one primary-key constraint, which may contain multiple columns.
Continue learning
