CBSE Class 12 Computer Science Question 10 of 79

Table Creation and Data Manipulation Commands — Question 4

Back to all questions
4
Question

Question 4

What is primary key ? What is PRIMARY KEY constraint ?

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.