Find the manager who earns the highest salary

Assignment Help Database Management System
Reference no: EM131994454

Company ABC - Background

Your client, The ABC Company, asks you to create a small database to keep the information of employees, departments, projects and dependants.

Refer the data tables in the page 2 and write answers or perform actions for following questions.

1. Identify primary keys, foreign keys, NULL and other constraints exist with the tables. Document the identified constraints.

Table 1. Identified Primary Key, Foreign key, Not null Constraints

Table Name

Primary Key

Foreign Key ( references table A)

Nott Null columns

 

 

 

 

 

 

 

 

 

 

 

 

2. Create all the tables with identified constraints on Oracle. (e.g. primary keys, foreign keys, NULL and other)
NOTE: When you create tables you should decide the appropriate types for the attributes. And also you should add the screenshots of CREATE TABLE statements in the project Report

3. Insert all the given values. You are feel free to insert new values to the tables.

NOTE: You should add all INSERT INTO statements and screenshots in the project report.

4. Write following queries on the tables.

a. Print employee's first name, last name, address and department number.

b. Print employee full name and department and employee's supervisors full name.

c. Print employee information who works for project 3. (i.e. ProductZ).

d. Print the employee and the number of dependant for an employee.

e. Print information about employees working more than one project.

f. Find the manager who earns the highest salary.

g. Print for all the employees number of hours in total they have worked in the projects.

h. Print project information of the projects which are managed by department 5 (i.e. research).

i. Print the total number of projects controlled by the different departments and the manager of the project. (department manager is the project manager)

j. Identify and print information about employees who have children less than 15 years old.

k. Print details of mangers who have worked more than 20 years of the company

l. Create your own query. It must include a nested query. Submit the following:

i. question your query is answering

ii. the SQL query

iii. the mark for this question will depend on the complexity of the query.

iv. higher marks will be given for queries that are more complex and/or innovative.

v. if you do not provide a description of what question the query is answering, you will get zero for this query.

Reference no: EM131994454

Questions Cloud

What is your real rate of return : If you earned a rate of return of 9% on your bond investments last year. During that time the inflation rate was 2.68%. What is your real rate of return?
Discuss the effect on stock market investor confidence : Discuss the effect on stock market investor confidence should bank customers, individuals and businesses alike, lose access to savings and undergo a loss.
Describe the change from the current and prior years : Briefly describe the change from the current and prior years in each of these key areas and determine if the changes would be positive or negative.
Nominal annual interest compounded monthly : Assume that your initial deposit occurs at the end of your first month. Use 9% nominal annual interest compounded monthly.
Find the manager who earns the highest salary : Identify and print information about employees who have children less than 15 years old - Find the manager who earns the highest salary
Account that earns an annual nominal interest rate : If you deposit $500/MONTH into an account that earns an ANNUAL nominal interest rate of 9%, compounded monthly, how much money will you have in 15 years?
Idea that sharing the cost of care : What is your sense of moral hazard and the idea that sharing the cost of care (insurance deductibles and co-payments) off-sets its impact?
Process model to estimate biodiesel production costs : A process model to estimate biodiesel production costs
Compare and contrast static scoring of the budget : Compare and contrast static scoring of the budget with dynamic scoring when it comes to evaluating the effect of a policy change.

Reviews

Write a Review

Database Management System Questions & Answers

  Differences between the oracle database sysdba and sysoper

What are the differences between the Oracle database SYSDBA and SYSOPER privileges? Explain OS authentication and how that allows you to connect to the database as SYS without providing a password

  Describe the content user access methods and sources of data

Find an example of an actual data warehouse. For this example, describe the content, purpose, user access methods, and sources of data.

  What are the functions of database management software

What are the functions of database management software (DBMS)? Name some common database management software.

  List and describe three main capabilities or tools of a dbms

List and describe three main capabilities or tools of a DBMS. Describe the effect of cloud computing on traditional IT infrastructure

  Implement an application on an ipad and android tablet

Due to the tight deadline, the project team was assembled quickly with ten (10) team members of various backgrounds. There are three (3) offshore developers in India and two (2) QA testers in San Francisco, CA.

  Examine the use of databases in organization

Create a 2-3 page (350 words per page) examining the use of databases in organization. Explain what database applications are utilized (Microsoft Access, DB2, Oracle, etc.).

  Describe information using table

Describe the information seen, using the terms such as table, schema and key. Describe the EMPLOYEE and EMP_PHOTO tables in detail.

  Describe the business rules that could impact the structure

Describe the business rules that could impact the structure of the database. Determine the information that the physical model of the database would include.

  Explain techniques for distributed data placement

Create a diagram using Visio, Microsoft Paint, or other graphical creation utility of your choosing to illustrate the diagrams supporting your conclusion. Note: The graphically depicted solution is not included in the required page length.

  Review the k-means clustering algorithm

Review the "k-MEANS CLUSTERING ALGORITHM" section in Chapter 4 of the Sharda et. al. textbook for additional background.

  Does that dbms support stored procedures

Investigate any relational DBMS that might be available to you. Does that DBMS support stored procedures? If so, how are they created? Flow are they invoked?

  Explain the overall benefit that normalization would provide

Describe one example of your suggested problem and explain the overall benefit that normalization would provide.

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