

































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The key points in the lecture slides of the Data Base Management System are listed as:Functional Dependencies, Sets of Attributes, Candidate Keys, Primary Key, Second Normal Form, Relation Schema, Third Normal Form, Proper Subset, Transitive Dependency, Partial Dependencies, Transitive Dependencies`Functional Dependencies, Sets of Attributes, Candidate Keys, Primary Key, Second Normal Form, Relation Schema, Third Normal Form, Proper Subset, Transitive Dependency, Partial Dependencies, Transitive
Typology: Slides
1 / 73
This page cannot be seen from the preview
Don't miss anything!


































































Emp_ID
Course_ Title
Name
Dept_ Name
Salary Date_Comp.
dependency , for any attribute A ∈ X, {X - {A}} → Y.
Second normal form: Let R’ be a relation, and let F be the set of governing FDs. An attribute belongs to R’ is prime if a key of R’ contains A. In other words, A is prime in R’ if there exists K<R’ such that (1) K->R’, (2) for all B belongs to K, (K-B)->R’ not belongs to F+, and (3) A belongs to K
A relation R is in 3NF if, for all X → A that holds over R A ∈ X ( i.e., X → A is a trivial FD ), or X is a superkey, or A is part of some key for R
If R is in BCNF, obviously it is in 3NF.
Reserves
Assume: sid → cardno (a sailor uses a unique credit card to pay for reservations). Reserves is not in 3NF sid is not a key and cardno is not part of a key In fact, (sid, bid, day) is the only key. (sid, cardno) pairs are redundantly.
SELECT rating,age FROM Sailors;