Which of the following is NOT true in the context of a relational data model?
Which of the following is NOT true in the context of a relational data model?
Solution
Option 4 is not true. When no single attribute can uniquely identify tuples, a composite primary key can be formed by combining two or more attributes. Since a relation is a set of tuples with no duplicates, the combination of all its attributes is always a candidate key, so a primary key can always be formed.
Option 1: This is true. A foreign key can be NULL unless it is part of the primary key or is declared NOT NULL.
Option 3: This is true. Each tuple in a relation is distinct, but individual attribute values (such as city or age) can repeat across rows.
Related questions:
2025: 20 May Shift 1
2025: 14 May Shift 1
2025: 27 May Shift 2
