Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Database Systems problem - ER diagram Problem 4 (30 points) Consider the following set of requirements for a company database: (a) Each customer is assigned

Database Systems problem - ER diagramimage text in transcribed

image text in transcribed

Problem 4 (30 points) Consider the following set of requirements for a company database: (a) Each customer is assigned a customer number. Also, the company keeps track of each customer's name, birthday, marital status, credit rating, address, phone number, fax number. Some user applications need to refer to the city, state, and zip of the customer's address. The company only maintains the information of the customers who have made at least one order. (b) Each employee is assigned an employee number and the following information of an employee need to be included in the database: name, address, email, SSN, birthday, position, sex, salary, start date working at this company, work phone number and home phone number. Each order made by a customer is described by an order number, order date, billing address, status. Each order is taken care of by one employee and one invoice is created for this order. Each order may contain one or multiple products. The quantity of each product in an order also needs to be recorded. (d) Each invoice is described by an invoice number, created date, date paid, payment method ('1' for cash, '2' for check, 3' for credit card. The information also needs to be recorded) (e) A product has a product number, name, unit price, quantity on hand. Design an ER diagram for the above. Specify key attributes of each entity type and structural constraints on each relationship type. Specify any additional assumptions. (c) Construct a relational model for the database described in Problem 4. For each relation, specify its primary key

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

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant B. Navathe

7th Edition Global Edition

1292097612, 978-1292097619

More Books

Students also viewed these Databases questions

Question

=+8. Why is productivity important?

Answered: 1 week ago

Question

Prepare a short profile of Henry words worth Longfellow?

Answered: 1 week ago

Question

What is RAM as far as telecommunication is concerned?

Answered: 1 week ago

Question

Question 1: What is reproductive system? Question 2: What is Semen?

Answered: 1 week ago

Question

Describe the sources of long term financing.

Answered: 1 week ago