In a relational database, a primary key is a field that:
- A. Stores the largest value in the table
- B. Uniquely identifies each record in a table
- C. Links two databases together
- D. Encrypts the contents of a table
Explanation
A primary key uniquely identifies every record in a table and cannot contain duplicate or null values. A foreign key, by contrast, is a field that references the primary key of another table to establish a relationship.