When a database is “normalized” it is restructured (according to a series of normal-forms, which we do not discuss here) in order to reduce data redundancy and improve data integrity. Typically this means decomposing one table into two or more new tables that are newly related. You must employ the following normalizations when reducing your ER diagram to a final relational database schema diagram: ● You must further normalize (or decompose) the sales_persons, customers, drivers, contractors, and shipments tables, so that all addresses are maintained in a new table called “addresses”. In doing so, each of these five tables newly participates in a many-to-one relationship with the addresses table. The primary key of the newly created addresses table is called address_id and is a unique identification number arbitrarily assigned by the logistics company. ● In this assignment, all relationship sets will be eliminated from the final database design. This will be done by exploiting many-to-one mapping cardinalities, as well as by employing the additional constraints detailed below in this section. ● Each shipment can have up two trailers and two drivers. These must be represented in the shipments table. (Hint: In the final database schema, a shipment with only one driver would have a NULL value for driver two.) ● All primary and foreign keys must be identified in the diagram appropriately (see example below). ● All multivalued attributes should be decomposed into separate tables

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter6: Additional Database Objects
Section: Chapter Questions
Problem 6HOA: A new table has been requested to support tracking automated emails sent to customers. Create the...
icon
Related questions
Question

                                         Relational Schema Normalization
When a database is “normalized” it is restructured (according to a series of normal-forms, which
we do not discuss here) in order to reduce data redundancy and improve data integrity.
Typically this means decomposing one table into two or more new tables that are newly related.
You must employ the following normalizations when reducing your ER diagram to a final
relational database schema diagram:
● You must further normalize (or decompose) the sales_persons, customers, drivers,
contractors, and shipments tables, so that all addresses are maintained in a new table
called “addresses”. In doing so, each of these five tables newly participates in a
many-to-one relationship with the addresses table. The primary key of the newly
created addresses table is called address_id and is a unique identification number
arbitrarily assigned by the logistics company.
● In this assignment, all relationship sets will be eliminated from the final database design.
This will be done by exploiting many-to-one mapping cardinalities, as well as by
employing the additional constraints detailed below in this section.
● Each shipment can have up two trailers and two drivers. These must be represented in
the shipments table. (Hint: In the final database schema, a shipment with only one
driver would have a NULL value for driver two.)
● All primary and foreign keys must be identified in the diagram appropriately (see
example below).
● All multivalued attributes should be decomposed into separate tables

cust ID
cust_name
business_name
{email}
customers
{customer_contact_numbers)
address line one
address_line_two
address
city
state
zip
country
cust_notes
drivers
driver ID
driver_license_number
ssn
first name.
last_name
address
address_line_one.
address_line_two
city
state
zip
country
M
contact number
email
start_date
hourly rate
1
transport
sell
1
sales ID
ssn
sales persons
first_name
last_name
address
buy
sales ID
M
address_line_one
address_line_two
email
start date
salary
city
state
zip
country
SP_contact_numbers.
M
M
M
1
manager ID
manages
shipments
shipments ID
pickup_date
pickup_time
delivery_date
delivery_time
billed_date
paid_date
origin_address
address_line_one
address_line_two
city
state
zip
country
destination_address
address_line_one
address_line_two
city
state
zip
country
commodity
time_location
shipment_notes
ship_trail
M
trailers
M
trailer ID
make
make year
model
trailer_DOT_number
trailer_lenght
trailer_group
last_inspected
M
M
ship_tract
trail_own
1
1
tractor ID
make
make_year
model
license_tag
license_tag_state
tractor_DOT_number
last_inspected
mileage
mileage_date
tractors
tract own
{email }
1
contractor ID
first_name
last_name
address
city
state
zip
M
contractors
address_line_one
address_line_two
country
{contractor_contact_numbers}
Transcribed Image Text:cust ID cust_name business_name {email} customers {customer_contact_numbers) address line one address_line_two address city state zip country cust_notes drivers driver ID driver_license_number ssn first name. last_name address address_line_one. address_line_two city state zip country M contact number email start_date hourly rate 1 transport sell 1 sales ID ssn sales persons first_name last_name address buy sales ID M address_line_one address_line_two email start date salary city state zip country SP_contact_numbers. M M M 1 manager ID manages shipments shipments ID pickup_date pickup_time delivery_date delivery_time billed_date paid_date origin_address address_line_one address_line_two city state zip country destination_address address_line_one address_line_two city state zip country commodity time_location shipment_notes ship_trail M trailers M trailer ID make make year model trailer_DOT_number trailer_lenght trailer_group last_inspected M M ship_tract trail_own 1 1 tractor ID make make_year model license_tag license_tag_state tractor_DOT_number last_inspected mileage mileage_date tractors tract own {email } 1 contractor ID first_name last_name address city state zip M contractors address_line_one address_line_two country {contractor_contact_numbers}
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Knowledge Booster
Binary numbers
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr