Buy Questpond's video subscriptions on
huge discount
.
Online: 2649
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
Others
>
Loading ...
DB2 - Display the average salaries of each DEPARTMENT_ID, include only the DEPARTMENT_ID s having more than $8000 of average salary.
Posted by
Bandi
on 11/30/2013 | Category:
Others Interview questions
| Views: 2272 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
SELECT department_id, AVG(SALARY)
FROM EMPLOYEES
GROUP BY DEPARTMENT_ID
HAVING AVG(salary) > 8000
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
DB2 - Difference between DROP & TRUNCATE
Next > :
DB2 - Write a query to display the number of peopl ...
Comments or Responses
Login to post response
More Interview Questions by Bandi
DB2 - Write a query to display the number of people working in dept. 1 ...
DB2 - Display the highest, lowest, sum, and average salary of all empl ...
DB2 - Display the LAST_NAME of all employees where the third letter of ...
DB2 - Display the LAST_NAME of all employees where the first letter of ...
DB2 - Display the DEPARTMENT_ID &DEPARTMENT_NAME from DEPARTMENTS ...
DB2 - Display the LAST_NAME and HIRE_DATE of every employee who was hi ...
DB2 - Display the employee LAST_NAME, DEPARTMENT_ID and HIRE_DATE of e ...
DB2 - Display the LAST_NAME concatenated with DEPARTMENT_ID, separated ...
Latest Interview Questions
What will happen,if we compile below code public interface intf_per ...
In VB.Net Overloads keyword is used for which type? Public Over ...
What is the best example of Function Overloading?
What will happen,if we compile below function? private double sum(i ...
What will happen,if we compile below function:- private double sum( ...
What will happen,if we compile below function? private double sum(i ...
What are the points which fulfill Function Overloading?
Does Function Overloading depend on Return Type?
More ...