Create an idefix or er diagram for the database

Assignment Help Database Management System
Reference no: EM13315831

You were tasked to create an Oracle database for a company to track their employees and projects. After speaking with the customer, you have determined the following as the user's needs:

• The company is organized into departments. Each department has a unique name, a unique number, and a particular employee who manages the department. We keep track of the start date when that employee began managing the department.

A department may have several locations.

• A department controls a number of projects, each of which has a unique name, a unique number, and a single location

• They store each employee's name, social security number, address, salary, sex, and birth date. An employee is assigned to one department but may work on several projects, which are not necessarily controlled by the same department. We keep track of the number of hours per week than an employee works on each project. We also keep track of the direct supervisor of each employee.

• They want to keep track of the dependents of each employee for insurance purposes. We keep each dependent's first name, sex, birth date, and relationship to the employee.

Please complete the following tasks:

1. Create an IDEFIX or ER diagram for the database described above. You should have entities for employee, department, project, and dependent at a minimum.?Make sure you:

a. define your entities
b. show all your attributes, including any keys
c. Show all your relations and name them accordingly
d. Define the correct cardinality for your relations.

2. Import your IDEF1X diagram into Oracle and create the appropriate tables and relationships. Your design should include a specification of tables, attributes, primary and foreign keys, referential integrity constraints, and referential integrity actions.

3. Populate your database with at least 3 rows of data in each table. (Use INSERT statements and show the insert statements that you used.)

4. Create the following the following queries:

a. List all the employees (Name, SSN) and their dependents (Name, Birthdate). (Make sure you list Employees who don't have dependents).
b. List the employees (Names) and the projects that they work on.
c. List the employees (Name, SSN) and their Manager (Names, SSN)
d. List the employee Name of who makes the most by department.
e. List the project Name which has the most hours logged.
f. List the employee Name who has the most dependents
g. List the employees, their departments, and their projects.
h. List the total number of hours worked per department. Show department Name in your results.

Reference no: EM13315831

Questions Cloud

Define high-performance network : The company wants to upgrade to a high-performance network and has asked you to suggest considerations needed to alter its infrastructure.
What is the specific heat of the unknown metal : a 13-g sample of an unkown metal is heated to 96.0 degrees C. What is the specific heat of the unknown metal
How does this definition of circumstances relate : Circumstances are a condition or set of conditions that develop from an event or series of events, which may occur almost imperceptibly and may converge in random or unexpected ways to create situations that might otherwise not have occurred and migh..
What change in relative weight of the football : A football coach in hopes of improving his kicker's performance fills a .9 kg football with helium rather than air. what change in relative weight of the football (change in weight divided by weight) is to be expected
Create an idefix or er diagram for the database : Import your IDEF1X diagram into Oracle and create the appropriate tables and relationships. Your design should include a specification of tables, attributes, primary and foreign keys, referential integrity constraints, and referential integrity ac..
Do you think this type of disclosure is primarily protective : This ASR appeared shortly after the passage of the Foreign Corrupt Practices Act. Do you think this type of disclosure is primarily protective or informative in nature?
Find the pressure on the walls of the container due to gas : If 3.9 moles of an ideal gas is at a temperature of 69 degrees C, find the pressure on the walls of the container due to gas
What is the light intensity at the surface : What is the light intensity at the surface of the lake on the day of the experiment and at what depth will the light intensity be half of the intensity at the surface?
Do you think that this broadening of disclosure of dividend : If the firm has not paid dividends in the past despite the availability of cash, and the corporate intention is to continue to forgo paying dividends in the foreseeable future, disclosure of this policy is encouraged.

Reviews

Write a Review

 

Database Management System Questions & Answers

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  What are the main activities that the business undertakes

What are the main activities that the business undertakes and where in the business are the crucial decisions made?

  Create the relational model

Create the relational model corresponding to the described application. Basically, list the CREATE TABLE statements with the attribute names, and appropriate data types.

  Explaining database security relate to data integrity

In talking about database security, some aspects to regard as are Data Integrity, Confidentiality, and Malicious Activity. Illustrate how does database security relate to data integrity?

  Create a new table named sportinggoods in database

Create a new table named SportingGoods to contain the columns PartNum, Description, OhHand, Warehouse, and Priced for all rows in which the item class is SG.

  Explain denormalized table in normal form

The DBA denormalized some of the data in the Premiere Products database to improve performance. Which field or fields cause the table to no longer be in third normal form? In which normal form is the denormalized table?

  Write names and e-mail addresses showing foreign key columns

Illustrate all the data in each of four tables. Don't show foreign key columns. Write down the names and e-mail addresses for all customers who have had stove repair which cost more than $50.

  Construct a query that can be used on a report

Construct a query that can be used on a report for determining how many days the customer's invoice will require payment if total amount due is within 45 days. Provide a copy of your working code as part of the paper.

  Spreadsheet and database

Explain the differences between the storing data in Access and Excel. Why you would use a spreadsheet over the database?

  Make a spreadsheet to compare e-commerce sites

create a spreadsheet to compare the three identified e-commerce hosting sites and the e-commerce hosting site that you find • prepare a PowerPoint presentation that represents the presentation you would give to management explaining your selection..

  The packing list describes the ideal contents

The packing list describes the ideal contents of each package, but it is not always possible to include the ideal number of each item. Therefore, the actual items included in each package should be tracked. A package can contain many different ite..

  Find all non-trivial dependencies

Compute the closure sets of R, find all non-trivial dependencies and what are the candidate keys of R?

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