306,185 views
2 votes
2 votes
Importance of primary key ?​

User Stephen Burke
by
2.7k points

1 Answer

14 votes
14 votes

Answer:

Using the primary key, you can easily identify and find unique rows in the database table. They allow you to update/delete only specific records by uniquely identifying them. The table's data is sorted based on the primary key. They help you avoid inserting duplicate records in a table.