Professional Documents
Culture Documents
Week #3
Complex
Complex Semantics
Multivalued Attribute
Simple Semantics
Complex Semantics
CLEAR SEMANTICS
• Note that:
• Property (a) is extremely important and cannot be
sacrificed.
• Property (b) is less stringent and may be sacrificed.
Constraint:
t1[X] = t2[X]
Must also t1[Y] = t2[Y]
• X is a candidate key of R
• Implies X Y for any subset of attributes Y of R
• SSN ENAME
• PNUMBER {PNAME, PLOCATION}
• {SSN, PNUMBER} HOURS
DEFINITION:
DEFINITION:
A relation schema is in 3NF if;
• It satisfies 2NF
No Partial
functional
dependency