DAD 220 Module Three Major Activity Guidelines and Rubric
Question
Overview
Quantigration, a rapidly growing networking equipment manufacturer, has been having problems with their equipment returns. You’ve been hired to create a database using SQL commands for processing all returns.
Directions
You’ll use the return merchandise authorization (RMA) entity relationship diagram (ERD) to build a database. Each of the tables in the ERD represents a database entity. The ERD is the blueprint for building your relational database.
Before you begin, do the following:
Make sure to download the Module Three Major Activity Database Documentation Template for this assignment. You’ll need to place your answers and screenshots in this document and then submit it for grading.
- Check the Database Documentation Template Example to see expectations of what your assignment should look like.
Make sure to review the example RMA entity relationship diagram (ERD) that you should be using as a guide before you begin.
- Review the module resources on how to capture screenshots, if necessary.
Go to your online integrated development environment (Codio), log in, start a new terminal session, and then create a database schema called QuantigrationRMA that can hold tables. List it out on the screen. Then, connect to the QuantigrationRMA schema.
- Using the ERD as a reference, create the following tables with the appropriate attributes and keys:
A table to store customer information with a primary key of Customer ID
- A table to store order information with a primary key of Order ID and foreign key of Customer ID
A table to store RMA information with a primary key of RMA ID and foreign key of Order ID
- Manually add 10 records into the Customers table. The data can be made up for now, as you’ll populate all three tables later from the provided CSV files.
You’ve been asked to establish a database view called “Collaborators” that is based on the “Customers” table. Create a view from the existing Customers table by using the SQL command provided below to say “Collaborators.” The view should show all instances of “Customer” renamed as “Collaborator.” Execute the following statements and provide one or more supporting screenshots showing the database view:
- The following command is partially complete. Fill in the missing information in the brackets to complete it and run the commands correctly:
CREATE VIEW Collaborator AS
SELECT CustomerID AS CollaboratorID, [Enter in the correct column names from that customer table that you want to change in the collaborator table]
FROM Customers;
- DESCRIBE Collaborator;
SELECT * FROM Collaborator LIMIT 5;
Get your college paper done by experts
Do my question How much will it cost?Place an order in 3 easy steps. Takes less than 5 mins.
Leave a Reply
Want to join the discussion?Feel free to contribute!