Database System Technology
VerifiedAdded on 2023/04/24
|9
|882
|416
AI Summary
This document explains Entity Relationship Modeling and Normalization Process in Database System Technology. It includes diagrams and tables to explain the concepts. Bibliography is also included for further reading.
Contribute Materials
Your contribution can guide someone’s learning journey. Share your
documents today.
Running head: DATABASE SYSTEM TECHNOLOGY
Database System Technology
Name of the Student
Name of the University
Author’s Note:
Database System Technology
Name of the Student
Name of the University
Author’s Note:
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
1DATABASE SYSTEM TECHNOLOGY
Table of Contents
Entity Relationship Modeling:.........................................................................................................2
Normalization Process:....................................................................................................................2
Bibliography:...................................................................................................................................8
Table of Contents
Entity Relationship Modeling:.........................................................................................................2
Normalization Process:....................................................................................................................2
Bibliography:...................................................................................................................................8
2DATABASE SYSTEM TECHNOLOGY
Entity Relationship Modeling:
Figure 1: Entity Relationship Diagram of Auto Seller Database
(Source: Created by Author)
Normalization Process:
1st Normal Form:
buyer_id car_number purchase_date sold_date seller_id from_date to_date
101 201 2015-07-22 2015-07- 101 2015-07- Present
Entity Relationship Modeling:
Figure 1: Entity Relationship Diagram of Auto Seller Database
(Source: Created by Author)
Normalization Process:
1st Normal Form:
buyer_id car_number purchase_date sold_date seller_id from_date to_date
101 201 2015-07-22 2015-07- 101 2015-07- Present
3DATABASE SYSTEM TECHNOLOGY
22 22
101 2015-08-15 2015-08-
15
201 2015-07-
22
Present
201 301 2015-07-22 2015-07-
22
101 2015-07-
22
Present
401 2015-08-15 2015-08-
15
201 2015-07-
22
Present
The above database table has multivalued attributes for sales data. As per the rule of first
normal form, the attributes must not have multiple values. For this reason, the table is expanded
to meet the requirement of making every attribute consisting of atomic values.
buyer_id car_number purchase_date sold_date seller_id from_date to_date
101 201 2015-07-22 2015-07-
22
101 2015-07-
22
Present
101 101 2015-08-15 2015-08-
15
201 2015-07-
22
Present
201 301 2015-07-22 2015-07-
22
101 2015-07-
22
Present
201 401 2015-08-15 2015-08-
15
201 2015-07-
22
Present
22 22
101 2015-08-15 2015-08-
15
201 2015-07-
22
Present
201 301 2015-07-22 2015-07-
22
101 2015-07-
22
Present
401 2015-08-15 2015-08-
15
201 2015-07-
22
Present
The above database table has multivalued attributes for sales data. As per the rule of first
normal form, the attributes must not have multiple values. For this reason, the table is expanded
to meet the requirement of making every attribute consisting of atomic values.
buyer_id car_number purchase_date sold_date seller_id from_date to_date
101 201 2015-07-22 2015-07-
22
101 2015-07-
22
Present
101 101 2015-08-15 2015-08-
15
201 2015-07-
22
Present
201 301 2015-07-22 2015-07-
22
101 2015-07-
22
Present
201 401 2015-08-15 2015-08-
15
201 2015-07-
22
Present
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
4DATABASE SYSTEM TECHNOLOGY
2nd Normal Form: The tables can only be in second normal form if those tables are in
first normal form and non-key attributes are only dependent on key-attribute. The below
dependency diagram shows the partial dependency among the attributes of first normal form
table.
buyer_id first_name, last_name, address, contact_number, from_date, to_date
seller_id last_name, first_name, address, contact_number
car_number make, model, color, price, year, mileage, body_type, fuel_type,
engine_size, fuel_consumption, CO2_emission
sales_number car_number, seller_id, buyer_id, purchase_date, sold_date, sold_price
In order to remove the partial dependencies, the partially dependent attributes are moved
to another table. This creating the following tables of second normal form.
buyer_
id
first_na
me
last_na
me
address contact_num
ber
car_num
ber
from_d
ate
to_da
te
101 Ethan Umbaga
i
81 Darwinia
Loop
NULLAGIN
E WA 6758
(08) 9015
4021
201 2015-
07-22
2015-
08-15
201 Jett Joyner 85 Mt
Berryman
Road
CARPENDA
LE QLD
(07) 4533
0533
101 2015-
07-22
2015-
07-22
2nd Normal Form: The tables can only be in second normal form if those tables are in
first normal form and non-key attributes are only dependent on key-attribute. The below
dependency diagram shows the partial dependency among the attributes of first normal form
table.
buyer_id first_name, last_name, address, contact_number, from_date, to_date
seller_id last_name, first_name, address, contact_number
car_number make, model, color, price, year, mileage, body_type, fuel_type,
engine_size, fuel_consumption, CO2_emission
sales_number car_number, seller_id, buyer_id, purchase_date, sold_date, sold_price
In order to remove the partial dependencies, the partially dependent attributes are moved
to another table. This creating the following tables of second normal form.
buyer_
id
first_na
me
last_na
me
address contact_num
ber
car_num
ber
from_d
ate
to_da
te
101 Ethan Umbaga
i
81 Darwinia
Loop
NULLAGIN
E WA 6758
(08) 9015
4021
201 2015-
07-22
2015-
08-15
201 Jett Joyner 85 Mt
Berryman
Road
CARPENDA
LE QLD
(07) 4533
0533
101 2015-
07-22
2015-
07-22
5DATABASE SYSTEM TECHNOLOGY
4344
301 Jamie Fitch 59 South
Street
MARGATE
TAS 7054
(03) 6253
5955
301 2015-
07-22
2015-
08-16
seller_id first_name last_name address contact_numbe
r
101 Mary Barak 83 Cherry
Grove
LILEAH TAS
7330
(03) 6266 2782
201 Georgia Kavel 96 Jones Road
KENMORE
DC QLD 4069
(07) 3680 6182
301 Sophia Fergusson 42 Weigall
Avenue
CAVENAGH
SA 5422
(08) 8745 0115
car_numbe
r
make model color price year mileag
e
body_type
101 alfa- Sports red 150000.00 2018 10 convertible
4344
301 Jamie Fitch 59 South
Street
MARGATE
TAS 7054
(03) 6253
5955
301 2015-
07-22
2015-
08-16
seller_id first_name last_name address contact_numbe
r
101 Mary Barak 83 Cherry
Grove
LILEAH TAS
7330
(03) 6266 2782
201 Georgia Kavel 96 Jones Road
KENMORE
DC QLD 4069
(07) 3680 6182
301 Sophia Fergusson 42 Weigall
Avenue
CAVENAGH
SA 5422
(08) 8745 0115
car_numbe
r
make model color price year mileag
e
body_type
101 alfa- Sports red 150000.00 2018 10 convertible
6DATABASE SYSTEM TECHNOLOGY
romero
201 mercedes-
benz
s102 royal blue 250000.00 2017 7 wagon
301 alfa-
romero
SUV red 150000.00 2016 12 convertible
sales_number car_number seller_i
d
seller_i
d
purchase_date sold_date sold_price
101 101 201 201 2015-08-15 2015-08-
15
1200.00
201 201 101 101 2015-07-22 2015-07-
22
2200.00
301 301 301 301 2015-08-16 2015-08-
16
3200.00
3rd Normal Form: The third normal form is associated with the transitive dependency.
The transitive dependency means that y is dependent on x and z is dependent on y but z is not
dependent on x. In order to make the tables in third normal form, the transitive dependency is
removed by creating a new table. The below dependencies shows transitive dependency.
buyer_id car_number
car_number ! buyer_id
car_number from_date, to_date
romero
201 mercedes-
benz
s102 royal blue 250000.00 2017 7 wagon
301 alfa-
romero
SUV red 150000.00 2016 12 convertible
sales_number car_number seller_i
d
seller_i
d
purchase_date sold_date sold_price
101 101 201 201 2015-08-15 2015-08-
15
1200.00
201 201 101 101 2015-07-22 2015-07-
22
2200.00
301 301 301 301 2015-08-16 2015-08-
16
3200.00
3rd Normal Form: The third normal form is associated with the transitive dependency.
The transitive dependency means that y is dependent on x and z is dependent on y but z is not
dependent on x. In order to make the tables in third normal form, the transitive dependency is
removed by creating a new table. The below dependencies shows transitive dependency.
buyer_id car_number
car_number ! buyer_id
car_number from_date, to_date
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
7DATABASE SYSTEM TECHNOLOGY
buyer_id first_name last_name address contact_number
101 Ethan Umbagai 81 Darwinia Loop
NULLAGINE WA
6758
(08) 9015 4021
201 Jett Joyner 85 Mt Berryman
Road
CARPENDALE
QLD 4344
(07) 4533 0533
buyer_id car_number from_date to_date
101 201 2015-07-22 2015-08-15
201 101 2015-07-22 2015-07-22
301 301 2015-07-22 2015-08-16
buyer_id first_name last_name address contact_number
101 Ethan Umbagai 81 Darwinia Loop
NULLAGINE WA
6758
(08) 9015 4021
201 Jett Joyner 85 Mt Berryman
Road
CARPENDALE
QLD 4344
(07) 4533 0533
buyer_id car_number from_date to_date
101 201 2015-07-22 2015-08-15
201 101 2015-07-22 2015-07-22
301 301 2015-07-22 2015-08-16
8DATABASE SYSTEM TECHNOLOGY
Bibliography:
Al-Masree, H. K. (2015). Extracting Entity Relationship Diagram (ERD) from relational
database schema. International Journal of Database Theory and Application, 8(3), 15-26.
Sorokin, A., Le Novère, N., Luna, A., Czauderna, T., Demir, E., Haw, R., ... & Villéger, A.
(2015). Systems Biology Graphical Notation: entity relationship language level 1 version
2. Journal of integrative bioinformatics, 12(2), 281-339.
Zhang, F., Ma, Z. M., & Cheng, J. (2016). Enhanced entity-relationship modeling with
description logic. Knowledge-Based Systems, 93, 12-32.
Zhang, L., Shi, L., Zhang, B., Zhao, L., Dong, Y., Liu, J., ... & Pei, S. (2017). Probabilistic
Entity-Relationship Diagram: A correlation between functional connectivity and
spontaneous brain activity during resting state in major depressive disorder. PloS
one, 12(6), e0178386.
Bibliography:
Al-Masree, H. K. (2015). Extracting Entity Relationship Diagram (ERD) from relational
database schema. International Journal of Database Theory and Application, 8(3), 15-26.
Sorokin, A., Le Novère, N., Luna, A., Czauderna, T., Demir, E., Haw, R., ... & Villéger, A.
(2015). Systems Biology Graphical Notation: entity relationship language level 1 version
2. Journal of integrative bioinformatics, 12(2), 281-339.
Zhang, F., Ma, Z. M., & Cheng, J. (2016). Enhanced entity-relationship modeling with
description logic. Knowledge-Based Systems, 93, 12-32.
Zhang, L., Shi, L., Zhang, B., Zhao, L., Dong, Y., Liu, J., ... & Pei, S. (2017). Probabilistic
Entity-Relationship Diagram: A correlation between functional connectivity and
spontaneous brain activity during resting state in major depressive disorder. PloS
one, 12(6), e0178386.
1 out of 9
Your All-in-One AI-Powered Toolkit for Academic Success.
+13062052269
info@desklib.com
Available 24*7 on WhatsApp / Email
Unlock your academic potential
© 2024 | Zucol Services PVT LTD | All rights reserved.