Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Accounting Basics Expert

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

1. 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.
2. Script file as Lastname_task3.sql which includes all the drop, create, alter, and insert statements needed to create the ABC Company database.
3. Word document showing the run result of the script file saved as Lastname_task3Result.docx.
4. 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:
o SET FOREIGN_KEY_CHECKS=0;
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;
• 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)
• Save the file with the name Lastname_Task3.sql.
• Login to your MySQL account via Omnymbus as specified in the tutorial Login MySQL Omnymbus Environment.docx noted at the bottom of this document
• Create a database following the proper naming convention as specified in the tutorial Creating a Database in MySQL Omnymbus Environment.docx noted at the end of this document.
• Click on the database name you just created.
• Run the script file as specified in the tutorial Running SQL Scripts in MySQL Omnymbus Environment.docx noted at the end of this document. If there are no errors, all tables will be successfully created. You may check them by adding SHOW TABLES at the end of your script file.
• If you have errors, correct those errors and execute the script again until it is error free.
STEP 3
Adding data to your database.
• In your SQL Script, write insert statements to successfully insert data into each table.
• A minimum of 3 rows are required for each table.
• In your SQL Script, check the data in each table by running a SELECT * FROM table query.
• Run your SQL Script to test it.
• When you are satisfied with you're the output of your SQL Script, copy the output to a Word File.
Rubrics

Points for will be awarded according to the following rubrics.
• Visio drawing: Revised E-R model provided as a Visio diagram.
• CREATE STATEMENTS: Successfully creating all tables.
• PRIMARY KEYS: Correct primary keys created for all tables.
• FOREIGN KEYS: All required foreign keys created.
• ALTER STATEMENT: Any alter statements required.
• INSERT STATEMENTS: Minimum three rows per table found.

Accounting Basics, Accounting

  • Category:- Accounting Basics
  • Reference No.:- M91591151
  • Price:- $20

Priced at Now at $20, Verified Solution

Have any Question?


Related Questions in Accounting Basics

Question - on december 31 2016 green company finished

Question - On December 31, 2016, Green Company finished consultation services and accepted in exchange a promissory note with a face value of $770,000, a due date of December 31, 2019, and a stated rate of 5%, with inter ...

Question - the kaufman car company sells cars with a

Question - The Kaufman car company sells cars with a warranty that they will work properly. based on its historic experience, it expects the cost of honoring this warranty to be about 1% of sales. In 2014, it makes $500 ...

Question - the following information is available for the

Question - The following information is available for the Starr Air Corporation: Sales - $750,000 Cost of goods sold - 410,000 Gross profit - 340,000 Operating Income - 85,000 Net Income - 42,000 Inventory, beginning yea ...

Assignmentplease read the following economist article that

Assignment Please read the following economist article that is attached at the end of this instruction paper: "The Future of Jobs The onrushing wave Previous technological innovation has always delivered more long-run em ...

Question sam and sue are married and age 65 sam has a full

Question: Sam and Sue are married and age 65. Sam has a full time job that pays $80,000 and Sue's full time job pays $85,000. They have worked since age 16 and are planning on keeping their jobs and signing up for social ...

Question - tony madison needs 248900 in 10 yearshow much

Question - Tony Madison needs $248,900 in 10 years. How much must he invest at the end of each year, at 4% interest, to meet his needs?

Question - robben company is considering investing in an

Question - Robben Company is considering investing in an annuity contract that will return $40,000 annually at the end of each year for 15 years. What amount should Robben Company pay for this investment if it earns an 8 ...

Problem - pearl co is building a new hockey arena at a cost

Problem - Pearl Co. is building a new hockey arena at a cost of $2,620,000. It received a down payment of $450,000 from local businesses to support the project, and now needs to borrow $2,170,000 to complete the project. ...

Question - at the beginning of the year anderson

Question - At the beginning of the year, Anderson Corporation's assets were $150,000 and its stockholders' equity was $100,000. During the year, assets increased $10,000 and liabilities decreased $10,000. a) What was the ...

Question - jozy altidore invested 6000 at 5 annual interest

Question - Jozy Altidore invested $6,000 at 5% annual interest, and left the money invested without withdrawing any of the interest for 12 years. At the end of the 12 years, Jozy withdrew the accumulated amount of money. ...

  • 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