Select the names and average salaries for all departments

Assignment Help Programming Languages
Reference no: EM13930583

**First Problem**

Table: Employee (for problems #1 and #2)

EmpID

Dept

Salary

HireDate

SupervisorID

1001

Finance

10,000

11/1/98

1020

1002

Finance

15,000

12/12/96

1020

1020

Finance

30,000

2/9/96

1035

1015

Human Resources

20,000

3/15/01

1045

1008

Operations

9,000

8/22/97

1013

1010

Operations

12,000

7/9/01

1013

1035

Operations

40,000

9/14/95

1000

1007

Maintenance

5,000

10/7/01

1017

1050

Human Resources

10,000

4/5/98

1045

1000

Executive

60,000

11/25/93

 

1016

Human Resources

11,000

10/13/01

1045

Using table Employee, select the names and average salaries for all departments that satisfy the following condition:

- include all departments except HR

- average salaries > 10,000

- sort by department name

**Second Problem**

Employee table contains the following fields: ID, firstname, lastname, deptid, managerid, projectid.

Manager table contains the following fields: ID, firstname, lastname, projectID, startdate, enddate.

Department table the following fields: deptID, deptname.

Get all projects started after January 1, 2005 for the 'Operations" department and list the lastname of each employee involved

in the project, their manager's lastname, and the start and end dates.

 

 

Reference no: EM13930583

Questions Cloud

How do you define normal and abnormal behavior : What are the two different perspectives concerning psychological disorders and culture? How do you define normal and abnormal behavior? What factors influence your definition? Why?
Price wars in the supermarket and mobile phone industries : "The recent price wars in the supermarket and mobile phone industries have been beneficial to both consumers and their respective industries." Discuss critically, using all the recent theoretical models.
Financial markets and institutions : Why do financial intermediaries exist?  In your answer, discuss theories of financial intermediation, transactions costs and asymmetric information
Is there sufficient evidence to support the claim : Effect of Major Assume that estimated lengths are not affected by an interaction between gender and major. Is there sufficient evidence to support the claim that estimated length is affected by major?
Select the names and average salaries for all departments : Employee table contains the following fields: ID, firstname, lastname, deptid, managerid, projectid.
How should the doctor treat mr. ally : What is the diagnosis, Explain the reason behind floaters and dark areas in the visual field and How should the doctor treat Mr. Ally?
Describe the characteristics of autism : Describe the characteristics of autism and discuss the ways in which each of these can influence a student's educational experience. Within your answer include the approaches of treatment and an example of each approach.
Choose lg australia for analysis : Prepare a Business Valuation Report for the client/company detailing the following sections: The analysis project consists of seven sections:
Difference in gross margin between the fifo and lifo : Compute the difference in gross margin between the FIFO and LIFO cost flow assumptions.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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