Professional Documents
Culture Documents
Activity 10.1 - DB Normalization
Activity 10.1 - DB Normalization
Activity 10.1 - DB Normalization
Activity 10.1
1. Add data on the tables (assume that this is not normalized yet)
2. Reflect on the table and follow the normalization steps base on the rules.
4. Add all table in one document (lucid chart/google docs), should have relationships and
cardinality.
5. make sure that it is in highest normal form, highest will be BCNF (if needed).
Products Table
Not Normalized
Oil ABC 15 40
Sponge XYZ 40 80
1st Normal Form
Oil ABC 15 40
Sponge XYZ 40 80
1 Soap 10 20.5 1
2 Soap 10 20.5 2
3 Oil 15 40 1
4 Sponge 40 80 2
S_ID Supplier
1 ABC
2 XYZ
1 Soap 1 10
2 Soap 2 10
3 Oil 1 15
4 Sponge 2 40
S_ID Supplier
1 ABC
2 XYZ
Unit Price
10 20.5
10 20.5
15 40
40 80
BCNF
1 Soap 1 00315
2 Soap 2 00412
3 Oil 1 00421
4 Sponge 2 00913
S_ID Supplier
1 ABC
2 XYZ
00315 10 20.5
00412 10 20.5
00421 15 40
00913 40 80
Vehicles Table
Not Normalized
Personnel Table
Not Normalized
Cashier 22000
BCNF
Sales Table
(Note: Since this Sales Table is the Table that has relationship to the 3 tables: Personnel,
Vehicles, and Products,and the attributes that were written in Figure 10.1 for the Sales Table
were not the primary keys from the other tables, I decided to change and use the normalized
primary keys in Personnel, Vehicles, and Products.
PS: The attribute date is what I am not sure what it is supposed to be but I assume that it will be
the Month date and Year date.)
Not Normalized
1 2, 3 4 November 2021
2, 4 1 2 November 2021
3 2 3, 1 October 2021
1 3 4 November 2021
2, 1 2 November 2021
4 1 2 November 2021
3 2 3 October 2021
3 2 1 October 2021
1 1 2 4 November 2021
2 1 3 4 November 2021
3 2, 1 2 November 2021
4 4 1 2 November 2021
5 3 2 3 October 2021
6 3 2 1 October 2021
(Note: So far, I don’t see anything that violates the normalization at this point, therefore I conclude that
this will be the highest normal form for Sales Table.)