GATE / CS ARCHIVE

GATE CSE 1998 / QUESTION 26(b)

Composite-key normalization

Database Management Systems · Normalization & Decomposition · Full GATE CSE 1998 paper

GATE 1998, Q26(b) Descriptive
Report issue

Normalization & Decomposition

Question 26(b), GATE 1998: Add Book-title and Author-address to the preceding book relation, with primary key(Author-Name,Book-title). What is its highest normal form?
Question 26(b), GATE 1998: Add Book-title and Author-address to the preceding book relation, with primary key(Author-Name,Book-title). What is its highest normal form?
Tap to enlarge
Answer & solution

Answer: 1NF under intended author→nationality,address dependencies; otherwise underdetermined. (no official key was published)

Assume all values are atomic and that each author identifier determines one nationality and one address. The declared key is now K={Author-Name,Book-title}, but the nonprime attributes Author-Nationality and Author-address depend on Author-Name alone, a proper subset of K. These are partial dependencies, violating 2NF. The intended highest normal form is therefore 1NF.

The contrast with part (a) is important: the same author dependency was transitive from a one-attribute book key there, but becomes partial when author is itself one component of the composite key. A decomposition into Author(Author-Name,Nationality,Address) and Book(Author-Name,Book-title,...) removes that particular partial dependency, subject to the remaining domain dependencies.

As before, the key declaration alone does not logically imply the semantic FDs. Author homonyms, multiple addresses or other candidate keys change the analysis. If no such non-key dependencies are imposed, one cannot infer a 2NF violation solely from the displayed attribute names. The conditional answer and its assumptions are retained because no official original/key has been verified.

Original paper, page 8