KnowledgeBoat Logo

Computer Science

Assertion. All types of keys contain unique values for each row.

Reason. A foreign-key attribute of a table is the primary key of another table.

Relational Database

2 Likes

Answer

(d)

Assertion is false but Reason is true.

Explanation
Not all types of keys necessarily contain unique values for each row. While primary keys ensure uniqueness for each row in a table, other types of keys, such as foreign keys and candidate keys, may not guarantee uniqueness. A non-key attribute, whose values are derived from the primary key of some other table, is known as foreign key in its current table.

Answered By

1 Like


Related Questions