Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The following exercises are based on the TAL Distributors database as designed in Example 1 in this chapter. In each exercise, represent your answer in

The following exercises are based on the TAL Distributors database as designed in Example 1 in this chapter. In each exercise, represent your answer in DBDL and with a diagram. You may use any of the styles presented in this chapter for the diagram.

image text in transcribed

2. Indicate the changes you need to make to the design of the TAL Distributors database to support the following situation. There is no relationship between customers and reps. When a customer places an order, it may be through any rep. On the order, identify both the customer placing the order and the rep responsible for the order.

3. Indicate the changes you need to make to the design of the TAL Distributors database in the event User View 3 requirements are changed as follows: For an item, store the item's number, description, category, and price. In addition, for each storehouse in which the item is located, store the number of the storehouse, description of the storehouse, and number of units of the item stored in the storehouse.

5. Indicate the changes you need to make to the TAL Distributors database design to support the following situation. The region where customers are located is divided into territories. For each territory, store the territory number (a unique identifier) and territory name. Each rep is assigned to a single territory. Each customer is also assigned to a single territory, which may not be the same as the territory to which the customer's rep is assigned.

EXA MPLE 1 Complete an information-level design for a database that sa tisfies the following constraints and user view requirements for a company that stores information about reps, customers, items, and orders. User View 1 Requirements: For a rep, store the rep's number, name, address, total commission, and commission rate User View 2 Requirements: For a customer, store the customer's number, name, address, balance, and credit limit. In addition, store the number and name of the rep who represents this customer. A rep can rep- resent many customers, but a customer must have exactly one rep. (A customer must have a rep and cannot have more than one rep.) User View 3 Requirements: For an item, store the item's number, description, units on hand, category number of the storehouse in which the item is located, and price. All units of a particular item are stored in the same store house. User View 4 Requirements: For an order, store the order number; order date; number, name, and address of the customer that placed the order; and number of the rep who represents that customer. In addi tion, for each line item within the order, store the item number and description, number of the item that was ordered, and quoted price. The user also has supplied the following constraints: a. Each order must be placed by a customer that is already in the Customer table. b There is onl c. On a given order, there is, at most, one line item for a gven item. For example, item FD11 cannot y one customer per order appear in several lines within the same order. The quoted price might not match the current price in the Item ta ble, allowing the company to sell the same items to different customers at different prices. The user wants to be able to change the price for an item without affecting orders that are currently on file. d

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

Main Memory Database Systems

Authors: Frans Faerber, Alfons Kemper, Per-Åke Alfons

1st Edition

1680833243, 978-1680833249

More Books

Students also viewed these Databases questions

Question

The calculation of cost of debt? LO1

Answered: 1 week ago

Question

How is the NDAA used to shape defense policies indirectly?

Answered: 1 week ago