What does the SQL constraint "PRIMARY KEY" do?

Last Updated :
Discuss
Comments

What does the SQL constraint "PRIMARY KEY" do?

Ensures that all values in a column are unique

Specifies a default value for a column

Defines a column to uniquely identify each row in a table

Enforces a condition on the values allowed in a column

Share your thoughts in the comments