In a relational database, what is a primary key?
2025
In a relational database, what is a primary key?
- A.
A key used for opening encrypted data
- B.
A unique identifier for a record in a table
- C.
A foreign key from another table
- D.
An index for sorting data
Attempted by 2246 students.
Show answer & explanation
Correct answer: B
A primary key uniquely identifies each record in a table. Step 2: It ensures no duplicate entries exist. Step 3: This makes it a valid identifier for database operations.