Garcia Module Three Major Activity Database Documentation

.docx

School

Southern New Hampshire University *

*We aren’t endorsed by this school

Course

220

Subject

Chemistry

Date

Feb 20, 2024

Type

docx

Pages

4

Uploaded by MajorIce7236

Report
DAD 220 Module Three Major Activity Database Documentation Template DAD 220 Professor Gross Jarrod Garcia 10 November 2023 Overview Complete these steps as you work through the directions for this activity. Replace the bracketed text with your screenshots and brief explanations of the work they show. Each screenshot and its explanation should be sized to approximately one quarter of the page, with the description written below the screenshot. Follow these rules for each of the prompts and questions below. Review the example document for help. Create a Database 1. In your integrated development environment (IDE), create a database schema called QuantigrationRMA. List out the database name. Provide the SQL commands you ran to successfully complete this in your answer, then connect to it: [Code used: Create database QuantigrationRMA, show database, use QuantigrationRMA]
2. Using the entity relationship diagram (ERD) as a reference, create the following tables with the appropriate attributes and keys : a. A table named customers in the QuantigrationRMA database as defined on the project ERD. Provide the SQL commands you ran against MySQL to complete this successfully in your answer: [Code Used: CREATE TABLE Customers ( Customer_ID INT, First_Name VARCHAR(25), Last_Name VARCHAR(25), Street VARCHAR(50), City VARCHAR(50), State VARCHAR(25), ZipCode VARCHAR(10), Telephone VARCHAR(15), PRIMARY KEY (Customer_ID));] b. A table named orders in the QuantigrationRMA database as defined on the project ERD. Provide the SQL commands you ran against MySQL to complete this successfully in your answer: [Code Used: CREATE TABLE Orders (Order_ID INT, Customer_ID INT, SKU VARCHAR(20), Description VARCHAR(50), PRIMARY KEY (Order_ID), FOREIGN KEY (Customer_ID) REFERENCES Customers(Customer_ID)); c. A table named rma in the QuantigrationRMA database as defined on the project ERD. Provide the SQL commands you ran against MySQL to complete this successfully in your answer:
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help