Computer Science, asked by sanchitapramanick8, 1 month ago


A. What is the use of a primary key in a database?​

Answers

Answered by Anonymous
1

Answer:

In the relational model of databases, a primary key is a specific choice of a minimal set of attributes (columns) that uniquely specify a tuple (row) in a relation (table). Informally, a primary key is "which attributes identify a record", and in simple cases are simply a single attribute: a unique id.

Answered by Anonymous
0

Question -

What is the use of primary key in a keyboard?

Answer :-

Primary key is a very important feature in making a database due to the following reasons :-

  • It ensures a row-level accessibility.
  • It contains a unique value of its own neither than a null value.
  • It consists of single or multiple columns(fields).
  • It allows to delete/update specific records by uniquely identifying them.
  • It helps us to avoid in inserting duplicate records of a table.

_________________________________________________

Similar questions