CBSE Class 11 Informatics Practices Question 73 of 85

Database Concepts — Question 36

Back to all questions
36
Question

Question 25

What is a primary key? What is its function in a table?

Answer

A primary key is a set of one or more attributes/fields which uniquely identifies a tuple/row in a table.

Its function in a table is to uniquely identify tuples or rows and prevent the entry of duplicate rows, thus ensuring data integrity.