MIS582 COURSE PROJECT
Week 6: Task 3: Database Construction Using MySQL (50 Points)
NOTE: MySQL is required for this project. Please ensure you can run MySQL via Omnymbus.
PROJECT OVERVIEW:
Scenario and Summary
In this assignment, you will create and populate a MySQL database based on the ERD you created in task2. Update the ERD you submitted for task2 with the corrections required by your instructor. To help you with this task, the data dictionary of the database is available in Doc Sharing. This will provide you information on every table that you must create for the ABC Company database. Every entity can be found listed in the data dictionary along with the PK/FK information as well as the data types for the attributes. These data types are MySQL data types so they can go directly in the create table statements. Using the corrected ERD and the data dictionary provided, write the necessary MySQL statements to create the ABC company database.
Deliverables
1. Script file as Lastname_task3.sql which includes all of the drop, create, alter, and insert statements needed to create the ABC Company database.
2. Text showing the copied and pasted run result of the script file saved as Lastname_task3Result.txt.
3. When you are done, upload the two files to the Week 6: Course Project Week 6 Task 3 Dropbox.
STEP 1
Revise the ERD you submitted for the previous task with the feedback provided by your instructor and the help of the given data dictionary document.
STEP 2
o SET FOREIGN_KEY_CHECKS=0;
o DROP TABLE IF EXISTS Inventory CASCADE;
o DROP TABLE IF EXISTS inventory CASCADE;
o DROP TABLE IF EXISTS line_item CASCADE ;
o DROP TABLE IF EXISTS product CASCADE;
o DROP TABLE IF EXISTS orders CASCADE;
o DROP TABLE IF EXISTS store CASCADE;
o DROP TABLE IF EXISTS employee CASCADE;
o DROP TABLE IF EXISTS department CASCADE;
o DROP TABLE IF EXISTS Warehouse CASCADE;
o DROP TABLE IF EXISTS region CASCADE;
o SET FOREIGN_KEY_CHECKS=1;
STEP 3
Adding data to your database.
Rubrics
Points for will be awarded according to the following rubrics.
Tutorials to Consult With
M10C_KROE8352_13_SE_WC10C.pdf in the folder titled My SQL Documents in Doc Sharing for all things to do with MySQL including example SQL.
Login MySQL Omnymbus Environment.docx in the folder titled Omnymbus Tutorial Files in Doc Sharing for how to log into the Omnymbus Environment.
Creating a Database in MySQL Omnymbus Environment.docx in the folder titled Omnymbus Tutorial Files in Doc Sharing for how to create a Database the Omnymbus Environment. Remember, all work must be done under a database your first create.
Running SQL Scripts in MySQL Omnymbus Environment.docx in the folder titled Omnymbus Tutorial Files in Doc Sharing for how to create and run your SQL Scripts.
DBP-e13-Appendix-F.pdf in the folder titled Visio Instructions Documents in Doc Sharing for how to use Visio 2013.
kroenke_dbp12e_appendix_f.pdf in the folder titled Visio Instructions Documents in Doc Sharing for how to use Visio 2010.
COURSE PROJECT Week6Task3DataDictonary.xlsx in the folder titled Course Project Documents in Doc Sharing.

Комментариев нет:
Отправить комментарий