Hiprup
MySQL

What is the difference between a primary key, foreign key, and unique key?

Primary key uniquely identifies each row, cannot be NULL, only one per table, and creates a clustered index in InnoDB.

Loading question...
What is the difference between a primary key, foreign key, and unique key? | Hiprup