Normalization of Databases: FO002L1 Ms. Elsa V. Isip
Normalization of Databases: FO002L1 Ms. Elsa V. Isip
Normalization of Databases: FO002L1 Ms. Elsa V. Isip
DATABASES
FO002L1
Ms. ELSA V. ISIP
DEPENDENCIES
Dependency is established when the
value of one attribute is dependent on
the value of another attribute.
YX
DEPENDENCY
CUS_NUM CUS_LNAME CUS_FNAME CUS_INITIAL CUS_ZIPCODE
28914 Robinson Anne K 37215
30213 Orlando Carlos H 38219
Partial Dependency
INV_NUM LINE_NUM PROD_CODE PROD_TITLE CUS_NUM LINE_UNITS
Transitive Dependency
Partial Dependency
Question :
What attributes are involved in the dependencies?
Transitive Dependency
Partial Dependency
Question :
What dependency types exist?
Transitive Dependency
Partial Dependency
Question :
Which attributes are the determinants, and which attributes
are dependent?
INV_NUM
2. Write each PK attribute
on a separate line.
LINE_NUM
3. Write the original PK
on the final line.
INV_NUM LINE_NUM
2. Using the basic template developed in step 1, write
the dependent attribute(s) next to each PK you
identified. Then show the dependencies in each
structure.
Table is in 3NF; no partial
or transitive dependencies.
INV_NUM CUS_NUM
No dependencies; no table.
LINE_NUM
Transitive Dependency
2. Break out all transitive dependencies to become new table
structure. Each t.d is based on a determinant, and this
determinant will become the PK in the new table structure. But
leave a copy of the determinant in the original table structure to
become the FK to the new table structure.
INV_NUM CUS_NUM