Computer Science, asked by aakriti1500, 6 months ago

What is the use of primary key? ​

Answers

Answered by mastermimd2
13

Explanation:

A primary key is used to ensure data in the specific column is unique. You can only set constraints with primary keys, by setting a foreign key to another column which creates a relationship with the column that has theprimary key set. A prime use of a primary keyis in the case of a users table..

Answered by WalkingDeath
4

Answer:-

  • A primary key is used to ensure data in the specific column is unique. You can only set constraints with primary keys, by setting a foreign key to another column which creates a relationship with the column that has the primary key set. A prime use of a primary key is in the case of a users table.
Similar questions