1 Answers
Option 2 : 2NF
First relational schema:
(VOLUME, NUMBER, STARTPAGE, ENDPAGE, TITLE, YEAR, PRICE)
Primary key: (VOLUME, NUMBER, STARTPAGE, ENDPAGE)
Functional dependencies are:
(VOLUME, NUMBER, STARTPAGE, ENDPAGE) → TITLE
(This dependency is in BCNF, satisfy form X → A, where X is the candidate key)
(VOLUME, NUMBER) → YEAR
(This dependency is not in 2NF, as there is partial dependency in this)
(VOLUME, NUMBER, STARTPAGE, ENDPAGE) → PRICE (BCNF form).
First relational schema is in 1NF.
Second relational schema:
(VOLUME, NUMBER, STARTPAGE, ENDPAGE, TITLE, PRICE) - 1st
(VOLUME, NUMBER, YEAR) - 2nd
1st satisfy
(VOLUME, NUMBER, STARTPAGE, ENDPAGE) → TITLE //BCNF form
(VOLUME, NUMBER, STARTPAGE, ENDPAGE) → PRICE // BCNF form
2nd satisfy
(VOLUME, NUMBER) → YEAR // According to this, satisfy 2 NF form.
Weakest normal form that new database satisfies but old one doesn’t is 2NF.