CBSE Class 12 Informatics Practices Question 71 of 103

Review of Database Concepts & SQL — Question 20

Back to all questions
20
Question

Question 14

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.