











Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!












The first, second, and third normal forms
based on set of functional dependencies (FD) and Prime Key(PK) you analyze the relation schemas to achieve two desirable properties:
Therefore the ideal goal of DB design will be developing a fully normalized relational schema, preferably in BCNF.
starting from 1NF.
Do not guarantee good database design.
Sometimes highest normal form may not be the best design for performance reasons.
Continued…
Make attributes for the locations if you know
the possible number of locations.
Make a new table with dname and dlocation
SSN PNUMBER hours ename pname plocation
EMP_PROJ
EMP_DEPT
Analyze the EMP_DEPT relation:
A relation is in 3NF if every non-key attribute is: In 2NF). Non transitively dependent on the prime key.
ename SSN bdate address dnumber dname dmgrssn
To assure we do not have update anomalies we need to extend this definition to include all candidate key rather than just PK.
Disallowed partial dependencies on any key in 2NF. Disallowed transitive dependencies on any key in 3NF
Simpler definition for 3NF:
Every nonprime attribute must be: Fully functionally dependent on every key Non transitively dependent on every key
schema in BCNF.
relation schema designs.
leads to update anomalies.
Employee of a larger corporation have access to a handful of mutual fund companies for their retirement investment
Emp# Name Age Salary M_fund# Fund_nm Fund_mgr
Continued…