Mysql database based on the erd

Assignment Help Chemistry
Reference no: EM13974233

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)

Reference no: EM13974233

Questions Cloud

List four of mintzbergs decisional roles of managers : List four of Mintzberg's Decisional roles of managers. What storage system and processing algorithm were developed by Google for Big Data?
Describe the word acronyms and list the acronym : Analyze two samples of technically written Documents: Each student is to select two samples of technically written documents that he/she can understand but that most non-specialists (persons outside the field) would not.
Briefly explain the following debt features : Briefly explain the following debt features: (a) Indenture(b) Restrictive convenant(c) Trustee(d) Call provision
What is the effect of higher exchange rate on export /import : Because wage rates are so low in Africa, why don't Microsoft, Cisco and other major corporations close down their American operations and move to Africa?
Mysql database based on the erd : 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..
Quesrion regarding the hofstede and trompenaars : How do the Egyptian, American, and Canadian cultures differ according to Hofstede and Trompenaars? Should US based organizations do similar research and comparisons regarding the different cultures represented in their respective employee populatio..
Major types of computer systems : What trends are occurring in the development and use of the major types of computer systems and will the convergence of PDAs, notebooks, PCs, cell phones and all the other HHEDs (Hand Held Electronic Devices) produce an information appliance that ..
The four fundamental factors that affect the supply : The four fundamental factors that affect the supply of and demand for investment capital  which affect interest rates  are productive opportunities, time preferences for consumption, risk, and inflation.
Gathering information to identify project : They would only say that the last person to do so was transferred to the custodial department. What would be the best technique to employ when gathering information to identify project risks in this situation?

Reviews

Write a Review

Chemistry Questions & Answers

  Explain the atom that has the partial positive charge

Classify each of the following bonds as nonpolar covalent, polar covalent, of ionic. If a bond is polar covalent, identify the atom that has the partial negative charge and the atom that has the partial positive charge

  How much oxygen has reacted with the iron

A layer of iron(III) oxide forms on the nail, increasing the nail's mass. How much oxygen has reacted with the iron if the mass of the nail has increased to 5.89 g?

  If the emission lines in a particular series of the

if the emission lines in a particular series of the hydrogen atom were studied for example the lines int he balmer

  Explain atoms in a sample of cocaine hydrochloride

Find the total number of atoms in a sample of cocaine hydrochloride, C17H22ClNO4 , of mass 24.0 mg.

  How to calculate the minimum concentration of cr3+

Calculate the minimum concentration of Cr3+ that must be added to 0.095 M NaF in order to initiate a precipitate of chromium(III) fluoride. (For CrF3, Ksp = 6.6 x10^-11.)

  Define the enthalpy of combustion for propane burned

The enthalpy of combustion for propane is -2044 kJ/mol. How many liters of propane (at STP) must be burned in order to convert 431 grams of ice initially at -12°C to liquid water at 70°C?

  State size exclusion chromatography is a different technique

Size exclusion chromatography (SEC) is a different technique. Explain how this technique is different from HPLC, Liquid chromatography, TLC, and GC.

  State the pecific heat capacity of liquid water

A 50.0 g sample of liquid water at 25.0 degree C is mixed with 29.0 g of water at 45 degree C. The final temperature of the water is ___________ degree C. The pecific heat capacity of liquid water is 4.18 J/g-K.

  Explain the case if the constant c were not multiplied by n

For the following, use the function U= V^(a) n^(1-a) exp(bS/n) + cn 1.find dU in terms of S, V , and n where a, b, and c are constants. 2. Show explicitly that U=ST -PV +?n. 3. Show that this would not be the case if the constant c were not multip..

  What is the heat evolved during the neutralization

The molar heat of neutralization from hydrochloric acid and sodium hydroxide is -57.3 kj/mol. What is the heat evolved during the neutralization of 655ml of 1.00M hydrochloric acid by 1.00M sodium hydroxide?

  Explain a saturated aqueous solution of lead iodate

A saturated aqueous solution of lead(II) iodate, Pb(IO3)2, contains 3.1 x 10-5 M Pb+2 at 25°C. Assuming an ideal solution, and assuming no reaction of the ions with water, calculate the Ksp of lead(II) iodate at that temperature.

  State specific heat of water increases at a constant rate

The specific heat of water increases at a constant rate. The specific heats of NaOH, HCl, and the product of the reaction are the same as that of water.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd