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

  Relational algebra expressions for names of salespeople

Illustrate relational algebra expressions for names of all salespeople, names of all salespeople having ORDER row and names of salespeople not having ORDER row.

  To analyse and comprehend a provided er diagram

Display the item id and the difference between the default price and cost (ITECH5006 - together with a percentage markup) of all products.

  In this assignment you will build a small database to

in this assignment you will build a small database to support the needs of a private library company called libloan. to

  Question 1 entity-relationship er model create an er

question 1 entity-relationship er model create an er diagram using the set of requirements provided for oxford city

  Explain relational database and metadata

Which is not a factor to consider in software evaluation and explain relational database and Metadata - Build an entity relationship model

  Explain what is the purpose of database

Explain what is the purpose of Database? The purpose of a database is to store information about certain types of objects. Give an example of two related TABLES.

  Imagine that you have been assigned as a project manager to

imagine that you have been assigned as a project manager to manage your companys e-commerce website where customers can

  Create an entity-relationship diagram and design

create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices

  Create database db2game

LOAD FROM "C:\db2game\tutors.csv" of del insert into tutors (student_id, given_name, family_name, course_code, hourly_wage, status);

  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.

  Create a use case diagram for osceolas operations

Use MS Visio to create a use case diagram for question 1, a selected class diagram for question 2, and a sequence diagram for question 3.

  Briefly explain the aries recovery algorithm

Briefly explain the ARIES recovery algorithm, including the main phases, main principles and key ideas behind the algorithm such as WAL protocol and checkpointing etc.

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