You were tasked to create an oracle database for a company

Assignment Help Database Management System
Reference no: EM13380212

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: EM13380212

Questions Cloud

Being x isin rn a vector of real numbers of e n we want to : being x isin rn a vector of real numbers of e n. we want to calculate the value of the following sumevaluating it
Your company has put in the request for a new database : your company has put in the request for a new database system and you have been tasked with architecting the security
A company is interested in upgrading its current core : a company is interested in upgrading its current core infrastructure which comprises 2 100mbps switches which connect
A company is interested in upgrading its current core : a company is interested in upgrading its current core infrastructure which comprises 2 100mbps switches which connect
You were tasked to create an oracle database for a company : you were tasked to create an oracle database for a company to track their employees and projects. after speaking with
Imagine that you work for a finance industry-based : imagine that you work for a finance industry-based organization. your organization is looking to submit its database
Imagine that you work for a finance industry-based : imagine that you work for a finance industry-based organization. your organization is looking to submit its database
A multinational tour operator agency has gained new : a multinational tour operator agency has gained new business growth in the north american market through the use of
Assume you were a newly hired it security manager at a : assume you were a newly hired it security manager at a software development company that in the past hasnt paid much

Reviews

Write a Review

Database Management System Questions & Answers

  Use embedded sql and c or any programming language

Convert the example of GEOMETRY_OBJECTS given in section 11.1.5 from the functional notation to the notation given in Figure 11.2 that distinguishes between attributes and operations. Use the keyword INHERIT to show that one class inherits from an..

  Designing and documenting your system

Create a document named: surnameStudentIDAssign1.doc .  In your document, you must include the following section headings:  System Overview, Class Diagram, Class Descriptions, Testing.

  Diagram of the table containing the initial data

Diagram of the table containing the initial data - state how you checked that the XML file is well-formed and what messages are sent if it is not well-formed?

  Timetabling system - write an sql function

With the new UNSW timetabling system, the LIC of each course is required to specify what facilities they require in their classrooms as one of the inputs to the timetabling process. Write an SQL function to provide a list of rooms that contain a g..

  Imagine that you work for a consulting firm that offers

imagine that you work for a consulting firm that offers information technology and database services. part of its core

  Prove-leaves of binary search tree are located in bottom

Examples for small n are given bellow, where a small square box represents an unsuccessful search. Prove that leaves of any binary search tree are located in the bottom two levels.

  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.

  Show the rea diagram using microsoft word

Show the REA diagram using Microsoft Word

  Create class diagram

Draw a UML class diagram that models the aspects of job agencies that are described below.

  Normalization procedures suggested by shome and cornell

These are normalization procedures suggested by Shome and Cornell. EQ Tools program permits any of these normalization (or scaling) approaches.

  Explain the datawarehouse and data mining concepts

There are six major types of information systems which organisations use in their operations. Discuss how these information systems support managers in their decision making role Explain the datawarehouse and data mining concepts using appropria..

  Illustrate concurrency control method by two phase locking

For each table argue whether or not interference with another transaction is possible. Illustrate concurrency control method using two phase locking.

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