<aside> ◻️ Review of last lecture: 1NF, 2NF, Functional Dependency
</aside>
<aside> ❕ Outline: 3NF and R Review Examples
</aside>
https://www.notion.so/lavendershuo/Lecture-19-3NF-and-R-Review-882ec061fa174f63a7b50cf241ea3b29 3NF quickly beyonds the scope of PSTAT10. All we need to know is the content mentioned in the powerpoint slides.
A relation is in 3NF if both of the following conditions hold:
If A--->B and B--->C are two Functional Dependencies, then A--->C is a TRANSITIVE FUNCTIONAL DEPENDENCY.
Recall:
Consider the following relation schema: Student_Address (STUDENT_ID, STUDENT_NAME, ZIP, STATE, CITY)
<aside> ❕ It's always important to state your assumptions
</aside>
Assumptions: Each student has a unique STUDENT_ID and only one address, denoted by ZIP, STATE, CITY