151k views
0 votes
What is the purpose of creating a primary key in a database

User Luana
by
3.9k points

1 Answer

2 votes

Answer:

Basically it creates a unique identifier for each row in your table and that can help you link your table to other tables using primary key as link

Step-by-step explanation:

"Primary key allows you to create a unique identifier for each row in your table. It is important because it helps you link your table to other tables (relationships) using primary key as links."

User Valery Kvon
by
4.1k points