31271 Lecture Notes - Lecture 6: Candidate Key, Third Normal Form, Foreign Key

72 views2 pages
4 Jun 2018
School
Course
Professor
Lecture 6: Normalisation II
Boyce Codd Normal Form (BCNF)
For a relation to be in BCNF, it must already be in third normal form, and every
determinant must be a candidate key.
Put simply, a relation is not in BCNF if:
o A non-key functionally determines part of a key.
o Part of a key functionally determines part of a key.
If the left side of a FD does not equate to a candidate key, it violates BCNF
Creating New Relations in a Higher Normal Form
1. Create a new relation for the FD group causing a violation
2. Create another new relation corresponding to the original relation
3. Copy the PK of the original relation to this new relation as its primary key
4. Move the dependencies (RHS) of the chosen FD in step one out of the original
relation into the new relation, as its non-key attributes.
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows half of the first page of the document.
Unlock all 2 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents