Competencies In this project, you will demonstrate your mastery of the following

by

in

Need help with assignments?

Our qualified writers can create original, plagiarism-free papers in any format you choose (APA, MLA, Harvard, Chicago, etc.)

Order from us for quality, customized work in due time of your choice.

Click Here To Order Now

Competencies
In this project, you will demonstrate your mastery of the following

Competencies
In this project, you will demonstrate your mastery of the following competencies:
Create a structured database through the use of relational concepts
Implement basic processing functionalities to create new structured database environments
Step One: Scenario
You’re working as a database administrator for Quantigration, a networking equipment manufacturer. The company has grown quickly and is still figuring out its internal business processes. The company uses customer return merchandise authorizations (RMAs) to track shipments for defective or incorrect parts. The company has identified RMAs as a specific problematic area.
Your supervisor at Quantigration asked you to create a database for a new software application that will be used for processing RMAs. The application must also record where items are received because merchandise can be taken in at several locations. This system will also capture where the equipment is going next. Options include repair, scrap, or refurbishing and resale. The warehouse shipping and receiving employees at your company will be using this application. These employees are considered your end users for the application. Part of their job is to process customer return shipments. This process involves the following steps:
Assess the quality of the items being returned for defects.
Identify missing parts.
Identify signs of obvious wear and tear, such as dents or scratches to the equipment.
Step One: Directions
Create a Database
The data architect on your DevOps team has come to you with a logical database diagram referred to as an entity relationship diagram (ERD). This ERD is documentation of the tables, their relationships to each other, their attributes, and any primary or foreign keys on those attributes. These elements are required to create the new database.
Before you begin, complete the following steps:
Review the example ERD in the Quantigration RMA Entity Relationship Diagram in the Supporting Materials section below.
Download the Project One Template from the What to Submit section below. You will use this template to record your work for this assignment.
Complete the steps below to create three tables named Customers, Orders, and RMA, in the QuantigrationUpdates database. Specifically, you must address the following rubric criteria:
In your online IDE (Codio), create a database schema called QuantigrationUpdates that will hold tables by using SQL commands.
List out the database name on the screen.
Provide the SQL commands you ran against MySQL to complete this step.
Connect to the QuantigrationUpdates schema. Using the ERD as a reference, write SQL commands to create the following tables with the appropriate attributes and keys to demonstrate relationships based on the ERD:
A table named Customers to store customer information with a primary key of Customer ID
A table named Orders to store order information with a primary key of Order ID and a foreign key of Customer ID
A table named RMA to store RMA information with a primary key of RMA ID and a foreign key of Order ID
Stop: Save your work before moving on to Step Two of this process. You’ll continue to work in Codio and use the documentation you started in Step One.
Step Two: Scenario
Now it’s time to populate the database with records and run some basic queries against the tables. You will be using the QuantigrationUpdates database and the three tables you created in Step One to do the following tasks:
Import data from the CSV data files into the three tables.
Use the rn line terminators to import the CSV file into the MySQL table.
Do not use IGNORE 1 LINES for data that does not have column headers in the first row.
Perform queries against the tables.
Create an output listing to the screen of the query results.
The shipping and receiving team that you are working with has been keeping records of its RMAs in spreadsheets. Your team has been creating its database in MySQL. The information that the shipping and receiving team has is detailed and won’t need cleaning. The data in the tables can be exported to CSV files. The data should also align with the columns and data types in your tables.
Step Two: Directions
Load and Query the Data
In Step One, you set up a customer RMA database using SQL to create tables and placed your work in the Project One Template. In this step, continue to place your work in the Project One Template as you follow the directions below.
The three data files you will use for this project are preloaded into Codio:
RMA.csv
Customers.csv
Orders.csv
Specifically, you must address the following rubric criteria:
Import the data from each file into tables.
Use the QuantigrationUpdates database, the three tables you created, and the three CSV files preloaded into Codio.
Use the import utility of your database program to load the data from each file into the table of the same name. You’ll perform this step three times, once for each table.
Provide the SQL commands you ran against MySQL to complete this step.
Write basic queries against the imported tables to organize and analyze the targeted data. For each query, include a screenshot of the query and its output. Also, include a one- to three-sentence desсrіption of the output.
Write a SQL query that returns the count of orders for customers located only in Framingham, Massachusetts.
This query will use a table join between the Customers and Orders tables. The query will also use a WHERE clause.
Record an answer to the following question: How many records were returned?
Write a SQL query to select all of the customers located in Massachusetts.
Use a WHERE clause to limit the number of records in the customers table to only those who are located in Massachusetts.
Record an answer to the following question: How many records were returned?
Write a SQL query to insert four new records into the Orders and Customers tables using the data below.
Customers Table
CustomerID FirstName LastName StreetAddress City State Zip Code Telephone
100004 Luke Skywalker 17 Maiden Lane New York NY 10222 212-555-1234
100005 Winston Smith 128 Sycamore Street Greensboro NC 27401 919-555-6623
100006 MaryAnne Jenkins 2 Coconut Way Jupiter FL 33458 321-555-8907
100007 Janet Williams 58 Redondo Beach Blvd Torrence CA 90501 310-555-5678
Orders Table
OrderID CustomerID SKU Desсrіption
1204305 100004 ADV-24-10C Advanced Switch 10GigE Copper 24 port
1204306 100005 ADV-48-10F Advanced Switch 10 GigE Copper/Fiber 44 port copper 4 port fiber
1204307 100006 ENT-24-10F Enterprise Switch 10GigE SFP+ 24 Port
1204308 100007 ENT-48-10F Enterprise Switch 10GigE SFP+ 48 port
In the Customers table, perform a query to count all records where the city is Woonsocket and the state is Rhode Island.
Record an answer to the following question: How many records are in the Customers table where the field ″city″ equals ″Woonsocket″?
In the RMA database, update a customer′s records.
Write a SQL statement to select the current fields of status and step for the record in the RMA table with an OrderID value of ″5175″.
Record an answer to the following questions: What are the current status and step?
Write a SQL statement to update the status and step for the OrderID, 5175 to status = ″Complete″ and step = ″Credit Customer Account″.
Record an answer to the following question: What are the updated status and step values for this record? Provide a screenshot of your work.
Delete RMA records.
Write a SQL statement to delete all records with a reason of ″Rejected″.
Record an answer to the following question: How many records were deleted? Provide a screenshot of your work.
Because of a new company branding initiative, you’ve been asked to change the name of the ″Customer″ to ″Collaborator ″. Update your existing table using SQL based on this change in requirements. Copy and paste the SQL you write to do the following action:
Rename all instances of ″Customer″ to ″Collaborator ″.
Create an output file of the required query results. Write a SQL statement to list the contents of the Orders table and send the output to a file that has a CSV extension.

Need help with assignments?

Our qualified writers can create original, plagiarism-free papers in any format you choose (APA, MLA, Harvard, Chicago, etc.)

Order from us for quality, customized work in due time of your choice.

Click Here To Order Now