Professional Documents
Culture Documents
Lecture 02 - Database Concepts LIVE
Lecture 02 - Database Concepts LIVE
Lecture 02 - Database Concepts LIVE
14 Data Normalization
Normalization is a process used to improve the design of relational NON-Normalized table 1NF: Convert multi-valued columns
databases with multi-valued columns into additional rows with single-
Within one Table, each Row must be unique (identified by Primary Key) (repeating groups) valued columns and unique PK
Within each Row, each value in each Column must be single-valued PK = ClientID Composite PK = ClientID, PetNo
Multiple-values of the content represented by the column (repeating
group) are NOT allowed in any rows of the table
Normal Form (NF) represents a set of particular conditions (whose purpose
is reducing data redundancy) that a table has to satisfy
COMM 335 1
©2022 COMM335 Teaching Team. This content is protected and may not be shared, uploaded, or distributed.
Source: Database Systems - Jukić, Vrbsky, Nestorov, Sharma Source: Database Systems - Jukić, Vrbsky, Nestorov, Sharma
Source: Database Systems - Jukić, Vrbsky, Nestorov, Sharma Source: Database Systems - Jukić, Vrbsky, Nestorov, Sharma
COMM 335 2
©2022 COMM335 Teaching Team. This content is protected and may not be shared, uploaded, or distributed.
FULL DEPENDENCIES
Source: Database Systems - Jukić, Vrbsky, Nestorov, Sharma Source: Database Systems - Jukić, Vrbsky, Nestorov, Sharma
COMM 335 3
©2022 COMM335 Teaching Team. This content is protected and may not be shared, uploaded, or distributed.
Solution: Tables & Relationships Solution: 3NF TABLE (PrimaryKey, ForeignKey, NonKey)
27 28
COMM 335 4
©2022 COMM335 Teaching Team. This content is protected and may not be shared, uploaded, or distributed.
COMM 335 5