Question: 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
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
Get step-by-step solutions from verified subject matter experts
