1.

What is the utility of primary key in database? Write distinct features of primary keys.

Answer»

The primary key is used to uniquely identify the record in a database. It can be a column or a set of columns in the table. 

Main features of the primary key are as follows:

1. It must contain a unique value for each record of the table.

2. It does not contain null values.



Discussion

No Comment Found