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

  Write steps to follow to create the relational database

Write down short description of database connectivity with Internet using one of widely disseminated technologies. (that is using either active server pages or Java server pages or others).

  Which method would be efficient for planning proactive

Dual Assessment of Data Quality in Customer Databases,Journal of Data and Information Quality (JDIQ), Volume 1 Issue 3, December 2009, Adir Even, G. Shankaranarayanan.

  Create a gis database of information about vietnam

You are asked to create a GIS database of information about Vietnam at scale of 1:100,000. Database will include the following: Which of these features are best represented by raster model? Explain why?

  Do a requirements analysis for the case study

To apply and consolidate skills acquired in the requirement and analysis disciplines through analysis of a simple case study, and to express the results through the relevant UML diagrams. ITC203

  Draw object-oriented model for private airport database

Draw an object-oriented model for a small private airport database that is used to keep track of airplanes, their owners, airport employees, and pilots.

  Create database management system for bike shop

Your job is to create a database management system for bike shop who ‘buys' and ‘sells' new and second-hand bikes, and also parts of bike. Bike is constructed with parts while part can be fitted to different bikes.

  Write select statement that returns three columns

Write a SELECT statement that returns three columns: InvoiceTotal From the Invoices table, 10% 10% of the value of InvoiceTotal.

  Edinburgh airport officials are concerned about complaints

edinburgh airport officials are concerned about complaints received by the service department and are about to do an

  Drawing active directory hierarchy in terms of forests

Draw Active Directory hierarchy in terms of forests, trees, domains, organizational units, and sites which are most suitable for this company and their security concerns.

  How many times the top module call each subordinate module

Select the best answer for each of the multiple choice questions below about the Structure Chart shown her

  Explain role of a database administrator

Explain the role of a database administrator,the tasks performed by this role and why this role is important in Database Management.

  Ways of implementing one-to-one relationships

Describe the difference ways of implementing one-to-one relationships. Assume you are maintaining information on offices (office numbers, building, and phone numbers)

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