Question

Need help answering these

We will do this one as a Word document or pencil and paper. The instructor will tell you how it is to be turned in when it is assigned. The instructor may also adjust the exercise's weight in points for Canvas.

I expect that it will be either a Word document or a well drafted, neat pen and paper drawing.

1) Design a database diagram for a product orders database with four tables. Indicate the relationships and identify the primary key and foreign keys in each table.  Explain your design decisions.

Customers CustomerlD CustomerName CustomerAddress CustomerPhone Orders OrderID Customers Order Date ShipAddress ShipDate Orde

2) Add the two tables below into the design for exercise one. Create additional tables and columns if necessary. Explain your design decisions.

Shippers ShipperiD ShipperName ShipperAddress ShipperPhone Employees Employeeld FirstName LastName SSN HireDate

3) Design a database diagram that allows individuals to be assigned membership in one or more groups. Each group can have any number of individuals and each individual may belong to any number of groups. (Hint: this is obviously a many to many relationship! Review DB Design 4 page in this module and/or page 313 of the textbook.) Create additional tables and columns as necessary. Not all tables will look the same; people will make primary key decisions on the bridge table that will change how it functions. The task is not completely specified; when (not if) you hit an ambiguity, make a decision and explain your design decisions!

4) Modify or extend the design for exercise three to track the role served by each individual in that group (i.e. "president", "secretary", "parliamentarian", etc.) Each individual can only serve one role in each group. Each group has a unique set of roles that members can fulfill (sounds like a foreign key jumping off here!) Create additional tables and columns as necessary. Not all tables will look the same; people will make primary key decisions on the bridge table that will change how it functions. The task is not completely specified; when (not if) you hit an ambiguity, make a decision and explain your design decisions!

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer- Customer Contains order line item Product ER diagram and foreign Keys of The primary tables are: Table Primary key fo

Customer places order <Contecins prodat product huset has a foredraget orderline Item supplied sur les have a batereExplanation:

Design 1.-A Customer has a one-to-many relationship with the Order because a customer can place many orders, but a given order can be placed by only one customer.

The order has one to many relationship with OrderLineItem because. An Order can contain multiple OrderLineItems.

But An OrderLineItem has a one-to-one relationship with a product because an order line itemorderLineItem can refer to only one product.

In the above Diagram I submitted, Many to one relationship with the shipper, because shipper can have multiple products.

so there is one to many relationship between shipper and product.

the shipper can have many employees, and the relationship between shipper and employee should be one to many.

In the above scenario, there can be employee and order relationship is also possible. As one to many relationship.

we can also create an Invoice table to show the relationship between shipper invoice and employee.

Add a comment
Know the answer?
Add Answer to:
Need help answering these We will do this one as a Word document or pencil and...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Regrettably, the company you work for did not hire a student from this class to design...

    Regrettably, the company you work for did not hire a student from this class to design their database. You are given the following table definitions. You (hopefully) take one look and are amazed at how bad the design decisions are in these two tables alone. Amazingly the database seems to be working OK. Propose a new way to implement these tables, list and explain the changes you make including why the old way was bad and your new change is...

  • QUESTION 1 What is the most common relationship within a relational database? Select the best answer...

    QUESTION 1 What is the most common relationship within a relational database? Select the best answer from the following. One-To-One relationship. o One-To-Many relationship. Many-To-Many relationship. Zero-To-Zero relationship. QUESTION 2 What is an "entity'? Select the best answer from the following. An entity, for our purposes, is the same as a table in the database. An entity represents one of the columns in an individual table. There are no entities in a relational database. Entities are only part of NoSQL...

  • Lab 2: Design Lab Purpose: Create a sample ER diagram for database design. Deliverables: A Micros...

    Lab 2: Design Lab Purpose: Create a sample ER diagram for database design. Deliverables: A Microsoft Visioor Word drawing of the design: draw tables with table title, primary key(s), foreign key(s) and relationships (using connections) specified properly; you are also supposed to bold or indicate the required columns/fields for each table. If you need to, a brief explanation of your design.[1] Steps: Follow the steps described in class. Create a DB design for the business problem described below[2]. Explain your...

  • SQL problem solving help; First 3 tables are finnished; Need help understanding on how to do...

    SQL problem solving help; First 3 tables are finnished; Need help understanding on how to do steps after. First 3 tables are after the first 2 images for reference if needed. //1// CREATE TABLE kr_customer ( Name VARCHAR(40) NOT NULL PRIMARY KEY, City VARCHAR(20), Status CHAR(1) ); //2// CREATE TABLE kr_salesperson ( Name VARCHAR(40) NOT NULL PRIMARY KEY, Age INT, Salary DECIMAL(8, 2) ); //3// CREATE TABLE kr_order ( Order_Number number(3) NOT NULL PRIMARY KEY, Customer_Name VARCHAR(40), Salesperson_Name VARCHAR(40), Amount...

  • Overview: Database management plays an integral role in nearly every area of business. Databases house customer, accoun...

    Overview: Database management plays an integral role in nearly every area of business. Databases house customer, accounting, and employee data, and these different data sets must all be efficiently managed in order to make the data accessible. Companies rely on database engineers to ensure that their records are accurate, updated, and tracked in real time. This course covers structured query language (SQL) and how it can be used to manage database schemas, manipulate data, and analyze data. For your final...

  • SUBJECT: INFORMATION TECHNOLOGY, CLASS: ADVANCE DATABASE MANAGEMENT Hello Everyone, I need help on a project for...

    SUBJECT: INFORMATION TECHNOLOGY, CLASS: ADVANCE DATABASE MANAGEMENT Hello Everyone, I need help on a project for my ITD 256 Class. These are the questions I am suppose to answer: Project: The project should include designing a database deals with making a proposal for the database implementation. You can either try to fix an existing problem in your business or create a new database for the new projects or new clients. Please define the objective, scope, and time frame of your...

  • Hospital Patient Reglstration System Hospltal Patient Registration System Part 2: Relational Sche...

    Hospital Patient Reglstration System Hospltal Patient Registration System Part 2: Relational Schema: Description of Tables 1) 2) Patient Table: Contains detail information about patients. Patient Address: Contains list of patients addresses. Each Patient can have more than one Address. However, an address can belong to only one patient. DOD DATETM 3) Provider Table: Contains detail information about Service Provider's, 4) Provider Address: Contains list of provider's addresses. 5) Provider Department: Contains information about which provider are in which department. Provider...

  • Step 1: Create table audits via triggers The system must log any insertion, deletion, or updates...

    Step 1: Create table audits via triggers The system must log any insertion, deletion, or updates to the following tables: • Employee table (project 1) create table Employee ( empNumber char(8) not null, firstName varchar(25) null, lastName varchar(25) null, ssn char(9) null, address varchar(50) null, state char(2) null, zip char(5) null, jobCode char(4) null, dateOfBirth date null, certification bit null, salary money null, constraint PK_EMP PRIMARY KEY(empNumber), constraint EMP_STATECHECK CHECK(state in ('CA','FL')) ) GO • Job table (project 1) create...

  • (MMU) has decided to consolidate the functionality of three small overlapping database systems, which support applications...

    (MMU) has decided to consolidate the functionality of three small overlapping database systems, which support applications for 1) teaching (e.g. instructor assignment and evaluation), for 2) registration (e.g. online course status, waiting lists), and for 3) student records (e.g. transcript generation) The resulting new system will support the following enterprise description: Professors and GTAs are assigned to teach the sections of each class being offered in a semester. At the end of the semester, they get a "team rating" (professors...

  • Need help with this project please! Please name the compiler and software used, would really appr...

    Need help with this project please! Please name the compiler and software used, would really appreciate that information. Don't bother doing the report section on this assignment either. Me and my group will handle it. This is a group project. Group size should be exactly 2 (unless approved earlier by the instructor). Only ne mi imi ma Design a security architecture for a smart electric metering infrastructure. Smart electric meters have embedded hardware for cellular connectivity, and are able to...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT