Answered step by step
Verified Expert Solution
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 diagram
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 keyStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started