Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Generate a logical model for each of the following problems. Be sure to have appropriate PKs and FKs, resolve any many to many relationships,

1. Generate a logical model for each of the following problems. Be sure to have appropriate PKs and FKs, resolve any many to many relationships, convert composite attributes to their component attributes, resolve multivalued attributes with a one to many relationship with a new table, and remove any derived attributes.

Problem A - Sales Sales rep data include a sales rep number (unique identifier), name, and phone number. A sales rep services 0 or more customers. Customer data includes a customer number (unique identifier), name, address, and phone. Each customer places 1 or more orders. Order data include an order number (unique identifier) and order date. Each order contains 1 or more products. Products can be listed on 0 or more orders. Product data includes a product number (unique identifier), description, and price. Each product contained on an order has a quantity ordered. Hint: be careful with the relationship between Product and Order. How will you deal with quantity?

Problem B - Sports League A local youth sports league needs a database system to help track children that sign up to play. Data needs to be kept on each team and the children that will be playing on each team and their parent or parents that registered them. Also, data needs to be kept on the coaches for each team.

Entities required: Team, Player, Coach, and Parent.

Attributes required:

Team: Team ID number, Team name, and Team colors. Hint: Note the plural for Team colors.

Player: Player ID number, Player first name, Player last name, date of birth, and age. Hint: Note that age can be determined from date of birth.

Coach: Coach ID number, Coach first name, Coach last name, and Coach home phone number.

Parent: Parent ID number, Parent last name, Parent first name, Home phone number, and Home address (Street, City, State, and ZIP Code).

Business rules are defined by the following bullets:

A Team has 0 or more Coaches and a Coach has only one Team.

A Team has 0 or more Players and a Player has only one Team.

A Player is registered by 1 or more Parents and each Parent registers 1 or more Players. When registering please keep track of the registration date.

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

Oracle 12c SQL

Authors: Joan Casteel

3rd edition

1305251032, 978-1305251038

More Books

Students also viewed these Databases questions

Question

Question Can a Roth IRA invest in stock of the IRA owners business?

Answered: 1 week ago