1. Use 'SQL Developer Data Modeler' or any other software to draw Logical Data Model. 2....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. Use 'SQL Developer Data Modeler' or any other software to draw Logical Data Model. 2. Take screen capture of the data model and embed it in the word document. 3. Resave the document with your name_lab#_db. (Eyourname_lab#_db) 4. SUBMIT ONLY WORD DOCUMENT OR PDF. 5. Submit it in the link provided in the assignment section. a) Complete the Database design that satisfies the following constraints and USER VIEW REQUIREMENTS for a company that stores information about their operations. To transform each user view into ERD, examine the requirements and create the necessary entities, keys, and relationships. USER VIEW 1 REQUIREMENTS: For a sales rep, store the sales rep's number, name, address, 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 sales rep who represents this customer. A sales rep can represent many customers, but a customer must have exactly one sales rep (a customer must have a sales rep and cannot have more than one sales rep). USER VIEW 3 REQUIREMENTS: For a part, store the part's number, description, units on hand, the number of the warehouse in which the part is located, and the price. All units of a particular part are stored in the same warehouse. For example, all dishwashers of the same type are stored in the same warehouse. The company really needs to keep a history of all the prices of each part as prices are changeable. Each time a price is changed, they would like to keep track of the date it changed. USER VIEW 4 REQUIREMENTS: For an order, store the order number, the order date, the number, name, and address of the customer that placed the order, and the number of the sales rep who represents that customer. In addition, for each line item within the order, store the part number and description, the number of the part that was ordered, and the quoted price. Following is the visual of user view 4 requirements: Customer Number: Name: Phone: Address: City: Province: Postal Code: Item Code A1234 B2345 E6789 H8790 CUSTOMER ORDER FORM C1234 Patrick Launder (647) 123-2345 456 My Street Toronto Ontario M9M 4G8 Item Description HP DesignJet T650 Printer HP DesignJet T250 Printer Canon MAXIFY MB2720 Copier Plain Paper Fax Total: Unit Price $ 1,995.00 $1,295.00 $ 250.00 $ 50.00 Jrder Number: Rep Number: 20 Quoted Price $ 1,900.00 $ 1,200.00 $ 250.00 $ 50.00 $ 2300.00 Quantity Ordered 10 25 30 20 The user also has supplied the following constraints: Each order must be placed by a customer that is already in the CUSTOMER table. There is only one customer per order. On a given order, there is at most a one-line item for a given part. For example, part DR93 cannot appear in several lines within the same order. 2345 The quoted price might not match the current price in the part table, allowing the company to sell the same parts to different customers at different prices. It also allows you to change the price for a part without affecting orders that are currently on file. 1. Use 'SQL Developer Data Modeler' or any other software to draw Logical Data Model. 2. Take screen capture of the data model and embed it in the word document. 3. Resave the document with your name_lab#_db. (Eyourname_lab#_db) 4. SUBMIT ONLY WORD DOCUMENT OR PDF. 5. Submit it in the link provided in the assignment section. a) Complete the Database design that satisfies the following constraints and USER VIEW REQUIREMENTS for a company that stores information about their operations. To transform each user view into ERD, examine the requirements and create the necessary entities, keys, and relationships. USER VIEW 1 REQUIREMENTS: For a sales rep, store the sales rep's number, name, address, 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 sales rep who represents this customer. A sales rep can represent many customers, but a customer must have exactly one sales rep (a customer must have a sales rep and cannot have more than one sales rep). USER VIEW 3 REQUIREMENTS: For a part, store the part's number, description, units on hand, the number of the warehouse in which the part is located, and the price. All units of a particular part are stored in the same warehouse. For example, all dishwashers of the same type are stored in the same warehouse. The company really needs to keep a history of all the prices of each part as prices are changeable. Each time a price is changed, they would like to keep track of the date it changed. USER VIEW 4 REQUIREMENTS: For an order, store the order number, the order date, the number, name, and address of the customer that placed the order, and the number of the sales rep who represents that customer. In addition, for each line item within the order, store the part number and description, the number of the part that was ordered, and the quoted price. Following is the visual of user view 4 requirements: Customer Number: Name: Phone: Address: City: Province: Postal Code: Item Code A1234 B2345 E6789 H8790 CUSTOMER ORDER FORM C1234 Patrick Launder (647) 123-2345 456 My Street Toronto Ontario M9M 4G8 Item Description HP DesignJet T650 Printer HP DesignJet T250 Printer Canon MAXIFY MB2720 Copier Plain Paper Fax Total: Unit Price $ 1,995.00 $1,295.00 $ 250.00 $ 50.00 Jrder Number: Rep Number: 20 Quoted Price $ 1,900.00 $ 1,200.00 $ 250.00 $ 50.00 $ 2300.00 Quantity Ordered 10 25 30 20 The user also has supplied the following constraints: Each order must be placed by a customer that is already in the CUSTOMER table. There is only one customer per order. On a given order, there is at most a one-line item for a given part. For example, part DR93 cannot appear in several lines within the same order. 2345 The quoted price might not match the current price in the part table, allowing the company to sell the same parts to different customers at different prices. It also allows you to change the price for a part without affecting orders that are currently on file.
Expert Answer:
Answer rating: 100% (QA)
Answer SQL code Create tables CREATE TABLE SalesRep RepNumber INT PRIMARY KEY Name VARCHAR255 Addres... View the full answer
Related Book For
Principles Of Information Security
ISBN: 9780357506431
7th Edition
Authors: Michael E. Whitman, Herbert J. Mattord
Posted Date:
Students also viewed these databases questions
-
We have built a prediction model to predict if a person will buy a computer or not. To evaluate the model, we have a list of 100 people with some basic attributes (e.g., age, student status, income,...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Case Study: Quick Fix Dental Practice Technology requirements Application must be built using Visual Studio 2019 or Visual Studio 2017, professional or enterprise. The community edition is not...
-
The curve described by the cable of the suspension bridge shown in Figure 8.70 is given by where x is the distance measured from one end of the bridge. What is the length of the cable (see Example...
-
A lot of 100 semiconductor chips contains 20 that are defective. Two are selected randomly, without replacement, from the lot. (a) What is the probability that the first one selected is defective?...
-
Mr. Furniture Warehouse, Inc., was a company engaged in the wholesale and retail furniture business. Like many other companies in its line of business, Mr. Furniture frequently obtained its furniture...
-
Air blows over the flat-bottomed, two-dimensional object shown in Fig. P9.109. The shape of the object, \(y=y(x)\), and the fluid speed along the surface, \(u=u(x)\), are given in the table....
-
Multiply Choice 1. Management can expect various benefits to follow from implementing a system of strong internal control. Which of the following benefits is least likely to occur? a. Reduction of...
-
The 2003 Convention on Genetic Engineering , which has been ratified by Australia, sets out uniform standards to be applied by scientists and other people involved in the field of genetic...
-
Identify by letter the curve you would expect in the titration of a solution containing (a) Disodium maleate, Na 2 M, with standard acid. (b) Pyruvic acid, HP, with standard base. (c) Sodium...
-
Showing that a problem is NP complete requires Polynomial-time Reduction. Now, a set of nodes "V" is a vertex cover. The removal of V from the graph destroys every edge. This is the VERTEX_COVER...
-
You have been asked to value the assets of a privately-held company. You used the Capital Asset Pricing Model to estimate the equity betas for every firm in the industry and then computed the average...
-
Cardinal Company is considering a five-year project that would require a $2,975,000 investment in equipment with a useful life of five years and no salvage value. The company's discount rate is 14%....
-
1. A train traveling at a constant speed of 26.8 m/s rounds a curve of radius 255 m. A chandelier suspended from the ceiling swings out an angle 0 from the vertical throughout the turn. a. Draw the...
-
[a] Given the following data: xi Y; 1 1.25 1.5 1.75 5.10 N 5.79 6.53 7.45 8.46 Construct the least squares approximation of the form y-a ex, then find y(2.5). [b] Use best approximation for the first...
-
Based on the table suppose you have sold all 30 shares of WFC on February 1, 2022, and kept the proceeds in cash for the rest of the time period. Make the adjustment to the Portfolio returns...
-
Data model structure and constraints are ___.
-
A manufacturer can sell product 1 at a profit of $20 per unit and product 2 at a profit of $40 per unit. Three units of raw material are needed to manufacture one unit of product 1, and six units of...
-
I. Describe the purpose of PGP and its benefit of being a hybrid cryptosystem to storing and maintaining information. Note that this system uses some of the best available cryptographic algorithms to...
-
Stress that an information security program begins with policies, standards, and practices that are the foundation for the program and its blueprint. This will require coordinated planning, and it...
-
Examine that the Chief Information Officer (CIO) is the senior technology officer although other titles such as vice president of information, VP of information technology, and VP of systems may also...
-
The control volume shown in Figure \(P 2.15\) has steady, incompressible flow, and all properties are uniform at the inlet and outlet. For \(u_{1}=1.256 \mathrm{MJ} / \mathrm{kg}\) and...
-
(a) List the forces exerted on the spring-cart system of Figure 15.1 right after it is released, and draw a freebody diagram for each object in the system. (b) Which of these forces do work on the...
-
(a) In Figure 15.2e, the cart's displacement from the equilibrium position is maximum. Is the \(x\) component of the cart's acceleration at that instant positive, negative, or zero? (b) At which...
Study smarter with the SolutionInn App