What is the role of primary keys in database tables?

  • Ensuring each record in a table is unique
  • Organizing data into categories
  • Providing a visual representation of data
  • Storing large amounts of data
The role of primary keys in database tables is to ensure each record in a table is unique. A primary key is a column or set of columns that uniquely identifies each row in a table, preventing duplicate entries and ensuring data integrity.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *