Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please complete these in SQL. Exercises n a database diagram for a product orders database with four ate the relationships between tables and identify the

Please complete these in SQL.
image text in transcribed
Exercises n a database diagram for a product orders database with four ate the relationships between tables and identify the pri keys in each table. Explain your design decisions. foreign Orders Customers OrderLineltems CustomerID CustomerName CustomerAddress CustomerPhone OrderlD CustomerID OrderDate ShipAddress ShipDate OrderlD OrderSequence ProductiD Quantity UnitPrice Products ProductID ProductName QtyPerUnit UnitPrice InStock OnOrder Add the two tables below into the design for exercise 1. Create additional tables and columns, if necessary. Explain your design decisions. 2. Shippers ShipperlD ShipperAddress Employees EmployeelD FirstName LastName SSN HireDate ame ShipperPhone 3. Modify your design for exercise 2 to identify the columns that should be indexed, and explain your decision. 4. Design a database diagram that allows individuals to be assigned membership r more groups. Each group can have any number of individuals and ndual can belong to any number of groups. Create additional tables in one o and columns, if necessary. Explain your design decisions Modify your design for exercise 4 to keep track of the role served by eadh mvidual in each group. Each individual can only serve one role in eadh 5. Modif group. Each gr additional tables and columns, if necessary. Explain your oup has a unique set of roles that members can fulfill Create

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

Students also viewed these Databases questions