KnowledgeBoat Logo
|

Computer Science

What is primary key ? What is PRIMARY KEY constraint ?

DDL & DML

4 Likes

Answer

A primary key is a unique identifier for each record in a table, and it must be unique and not null. A PRIMARY KEY constraint declares a column or one group of columns as the primary key of the table. This constraint must be applied to columns declared as NOT NULL.

Answered By

2 Likes


Related Questions