Database Fundamentals — Question 48
Which key uniquely identifies a row in a table?
Answer options
- A. foreiqn
- B. primary
- C. local
- D. superkey
Correct answer: B
Explanation
The primary key is the correct answer as it is specifically designed to uniquely identify each row in a database table. The foreign key, on the other hand, relates to another table and does not ensure uniqueness within the current table. Local and superkey do not serve the function of uniquely identifying rows in the same way that a primary key does.