Draw the relationships between the tables

Assignment Help Database Management System
Reference no: EM131045233

Use MySQL Workbench for these questions. Do NOT use Lucidchart. MySQL Workbench has more capability than Lucidchart, as it allows creation of DDL SQL from the model. Turn in 1 Workbench file , 1 document with the forward-engineered sql statements, and a Word document with your inserted data.

This problem mimics the one from the previous assignment. Model it in Workbench, then forward-engineer the database script and import into your database. If the import fails, fix it in the model, then try again.

A. Create the tables DEPARTMENT, EMPLOYEE, COMPUTER, and VEHICLE. Add the primary key field(s) and at least 2 non-key fields to each table that are relevant to that table (ie. PhoneNumber would be valid for EMPLOYEE). Use your model from the previous assignment to create the tables in Workbench.

B. Draw the relationships between the tables. Assume that a DEPARTMENT does not need to have an EMPLOYEE, but that every EMPLOYEE is assigned to a DEPARTMENT. The employee is assigned a laptop (COMPUTER) for his/her use, and it is not to be shared with other employees. The employee checks out a VEHICLE, but is not guaranteed a specific vehicle. So on different days, the employee may be driving a different vehicle.

C. Use the inserts tab under the table to add relevant data to the tables. Note: The inserts tool does NOT validate your data. For instance, if a field is set up as a numeric field, and you enter a letter, you will not receive an error until you actually run the script to insert the data in the table.

Make sure the business rules are met by inserting specific data:

A: Try to assign 2 employees to the same department.

B: Try to assign 2 computers to 1 user, and 2 users to 1 computer. (This should fail in step 1e below. Fix the model and/or the data before submitting).

C: Try to assign an employee to 2 vehicles, and a vehicle to 2 employees.

D. Forward-Engineer the database, and make sure to check "Generate INSERT Statements for Tables." In the "Review the SQL Script to be Executed" screen, click "Save To File..." Choose a name like "A11.sql".

E. If the script fails, fix the model and/or the insert data, forward-engineer the script again, then re-run the script. Do this until you don't have any errors.

F. Once the script executes successfully, go back to the model and copy the data from each table into a Word document. The data should paste in as a table. To copy data from Workbench, open the Inserts tab from C above. Select all data by clicking on the area above and to the left of the table (see example right). Type Ctrl-C to copy the data. Paste it into a Word document. Continue with all of the tables. Save the document to a file like "A11.docx".

Reference no: EM131045233

Questions Cloud

Considering two investment options : You are considering two investment options. In option A, you have to invest $4500 now and $800 three years from now. In option B, you have to invest $4000 now, $1200 a year from now, and $1000 three years from now. In both options, you will receive f..
Face value bond has two years left to maturity : Emacs Co. issued 13-year, $1,000 face value bonds one year ago at a coupon rate of 9.7 percent. The bonds make semiannual payments. If the YTM on these bonds is 7.4 percent, what is the current bond price? A $1000 face value bond has two years left t..
Tiller construction corporation and nadler : Ronald Nadler was a resident of Maryland and the CEO of Glenmar Cinestate, Inc., a Maryland corporation, as well as its principal stockholder. Glenmar leased certain space in the Westridge Square Shopping Center, located in Frederick, Maryland, an..
Stock repurchase announcement will increase stock price : Additional problem: The equity of a certain company has a market value for $3 million. It currently has 300,000 shares outstanding, and a book value of equity of $1,095,000. If management estimates that a stock repurchase announcement will increase s..
Draw the relationships between the tables : Draw the relationships between the tables. Assume that a DEPARTMENT does not need to have an EMPLOYEE, but that every EMPLOYEE is assigned to a DEPARTMENT.
Which is more difficult to model the process or the entity : Simulations are essential models for processes with a mathematical representation of the entity behavior. Which is more difficult to model: the process or the entity behavior?
Planning for your retirement : You are planning for your retirement and have decided the following: you will retire in 35 years and would like to have $8,000 per month as retirement income for 30 years of retirement. You have access to an account that earns a 7% rate of return. Ho..
Modular architecture for high-performance packet switching : I have uploaded paper and desired output figure. You have to complete fig 5 and fig 11 in that paper. Values are there in respective sessions. Paper - The Knockout Switch: A Simple, Modular Architecture for High-Performance Packet Switching
Why the given situation represents a risk : Auditing ACCT 3000 - Identify and discuss why the above situation represents a risk and By applying auditing knowledge, identify the main account or group of accounts affected in the audit plan by the risks identified in (a).

Reviews

Write a Review

Database Management System Questions & Answers

  Explain what problems can occur in a distributed database

Explain what problems can occur in a distributed database that is partitioned but not replicated.

  What is an autonomic relational database management system

In regards to Autonomic RDBMS, is it important to use a user-centered design (UCD) approach when designing a database for a small to medium size company. Why or why not?

  Explore the database to understand what it is about

explore the database to understand what it is about then close your Microsoft Access

  Compare and contrast the advantages of servlets of cgi

Describe the following CLI's and Database Gateways and Describe their architecture, components and challenges.

  Create a database and then secure it

The goal is simple; you are to install the O/S, the Database Server and create a database and then secure it all as best you can.

  Assignment related to the prestige hotel

Import the Location data from the Excel file a02m2location into your database as a new table. Set the LocationlD Indexed property to Yes (No Duplicates), and then set the data type to Long Integer. Select the LocationlD field as the primary key. N..

  Write sql statements to create the corresponding relations

Write SQL statements to create the corresponding relations to the ER diagram you designed for Exercise 2.8. If your translation cannot capture any constraints in the ER diagram, explain why.

  What type of architecture does each dbms use

Determine each system's compliance with the functions that we would expect to be provided by a DBMS. What type of language does each system provide? What type of architecture does each DBMS use? Check the accessibility and extensibility of the sys..

  Design a set of 3nf tables for your database scenario

Draw an ER diagram for your database scenario. Design a set of 3NF tables for your database scenario.

  What do you understand by data analytics

Watch the 36-minute video on ‘Data Analytics at Facebook' at www.youtube.com/watch?v=D19.JiG-Ow9g or http://bit.ly/1Vk0r3K or tinyurl.com/facebook-data-analytics, What do you understand by data analytics

  Create scripts of sql statements

Create scripts of SQL statements

  Database system development

The database application project (DAP) for this course consists of the creation of a fully functional Microsoft Access database application for a real client.

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