Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A database for a delivery company needs to store information about customers,packages and delivery facilities.Each customer is assigned a unique ID and the name and

A database for a delivery company needs to store information about customers,packages and delivery facilities.Each customer is assigned a unique ID and the name and address of the customer needs to be recorded.Each package on the other hand is assigned a unique ID and the weight needs to be recorded.Also each facility is assigned a unique ID and the address of each facility needs to be recorded.One customer can ship multiple packages ,but each package is sent by exactly one customer.For each shipment,the receipent's name and address needs to be recorded.Furthermore, the database must store the facilities that each package goes through, and the time when that package arrives at each of these facilities..

Quesa)Draw an ER diagram that captures this information

Ques b) Define tables using SQL that correspond to the E-R diagram in (a). You must define the smallest number of tables while ensuring that these tables are in BCNF (you do not need to prove that the resulting tables are in BCNF). For each table, specify primary and foreign keys. Add integrity constraints if needed.

Ques c)Identify all non trivial dependencies.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 Universal Database V7.1 Application Development Certification Guide

Authors: Steve Sanyal, David Martineau, Kevin Gashyna, Michael Kyprianou

1st Edition

0130913677, 978-0130913678

More Books

Students also viewed these Databases questions

Question

Define the term Working Capital Gap.

Answered: 1 week ago

Question

LO5 Highlight five external recruiting sources.

Answered: 1 week ago