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

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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