Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Chemistry Expert

The Course Project will consist of three tasks, each worth 50 points due in Weeks 2, 4, and 6. Successful completion of the iLabs will help you in completing the project tasks.

Week 6: Task 3: Database Construction Using MySQL 

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, your instructor will provide you with the data dictionary of the database. 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. To complete this assignment, you will need to be able to run MySQL via Omnymbus. 

Deliverables

  • Corrected ERD based on the instructor feedback and data dictionary. The data dictionary titled COURSE PROJECT Week6Task3DataDictonary.xlsx can be found in the folder titled Course Project Documents. Save your file as Lastname_Task3_revisedERD.vsd. 
  • Script file as Lastname_task3.sql which includes all the drop, create, alter, and insert statements needed to create the ABC Company database.
  • Word document showing the run result of the script file saved as Lastname_task3Result.docx.
  • When you are done, upload a zip file containing the three 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

  • Create a file with the name Lastname_Task3.sql
  • In your sql file, to drop the tables in case you run the script repeatedly, please include the following at the top of your script:
    • SET ;
    • DROP TABLE  IF EXISTS Inventory CASCADE;
    • DROP TABLE  IF EXISTS inventory CASCADE;
    • DROP TABLE  IF EXISTS line_item CASCADE ;
    • DROP TABLE  IF EXISTS  product CASCADE;
    • DROP TABLE  IF EXISTS orders CASCADE;
    • DROP TABLE  IF EXISTS store CASCADE;
    • DROP TABLE  IF EXISTS employee CASCADE;
    • DROP TABLE  IF EXISTS department CASCADE;
    • DROP TABLE  IF EXISTS Warehouse CASCADE;
    • DROP TABLE  IF EXISTS region CASCADE;
    • SET ;
  • In your sql file, write create table statements for each table in the database. You can try to create each table one at a time and then test the creation of the table before going on to creating the next table. Use the data types given in the data dictionary. Make sure every table has primary key(s), foreign keys if required, and not nulls if required. (Refer to data dictionary for this information)

Chemistry, Academics

  • Category:- Chemistry
  • Reference No.:- M91669013
  • Price:- $10

Priced at Now at $10, Verified Solution

Have any Question?


Related Questions in Chemistry

A sample of cobalt ii chloride hydrate starts with a mass

A sample of cobalt (II) chloride hydrate starts with a mass of 3.35 g. After heating, the sample mass is 1.83 g. What is the molar ratio of water to cobalt chloride? What is the correct chemical formula

What is the mass of naoh present in grams given that a 100

What is the mass of NaOH present in grams, given that a 100. mL solution has a concentration of 0.125 M?

Explain why the mass of the crucible and anhydrous salt is

Explain why the mass of the crucible and anhydrous salt is less than the mass of the crucible and the hydrate. What is the chemical formula of copper (II) sulfate?

228 g of an unknown molecular solute is dissolved in 428

22.8 g of an unknown molecular solute is dissolved in 4.28 moles of 1,2-ethanediol (C2H6O2), causing the freezing point of 1,2-ethanediol to decrease by 1.08 °C. Calculate the molar mass of the solute. For 1,2-ethanediol ...

1 2croh3nbspnbsp3br2 10oh-6br-nbspnbsp2cro42- 8h2oin the

1. 2Cr(OH) 3  +  3Br 2 + 10OH - 6Br -  +  2CrO 4 2- + 8H 2 O In the above redox reaction, use oxidation numbers to identify the element oxidized, the element reduced, the oxidizing agent and the reducing agent. 2. A tank ...

What is the density in gml of a ball that has a mass of 221

What is the density in g/mL of a ball that has a mass of 22.1 ounces and a diameter of 2.04 inches? Will it float if placed in a bucket of water? The answer is "no." Please can you help me Provide the calculations to pro ...

For each of the following reactions identify the oxidizing

For each of the following reactions identify the oxidizing agent and the reducing agent. 2Na(aq)+2H2O(l)→2NaOH(aq)+H2(g) C(s)+O2(g)→CO2(g) 2MnO-4(aq)+5SO2(g)+2H2O(l)→2Mn2+(aq)+5SO2-4(aq)+4H+(aq)

If 0750 l of argon at 150 atm and177degc and 0235 l of

If 0.750 L of argon at 1.50 atm and177°C and 0.235 L of sulfur dioxide at 95.0 kPa and 63.0°Care added to a 1.00-L flask and the flask's temperature is adjustedto 25.0°C, what is the resulting pressure in the flask?

Consider the following reactioncog cl2nbspg

Consider the following reaction. CO(g) + Cl 2  (g)  > COCl 2  (g)  The mechanism is believed to be, (1) Cl 2     2Cl (fast equilibrium) (2) Cl + CO   COCl (fast equilibrium) (3) COCl    + Cl 2  > COCl 2  + Cl (slow) (4) ...

The solubility of silver sulfate ag2so4 inwater has been

The solubility of silver sulfate, Ag2SO4, inwater has been determined to be 8.0 g/L. What is the solubility in0.37 M sodium sulfate,Na2SO4?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As